Skip To Content ArcGIS for Developers Sign In Dashboard

LocalService Class

class Esri::ArcGISRuntime::LocalService

The base class for local service classes. More...

Public Functions

virtual ~LocalService() override
QString name() const
QString packagePath() const
void start()
Esri::ArcGISRuntime::LocalServerStatus status() const
void stop()
virtual QUrl url() const

Signals

void statusChanged()

Detailed Description

Note: Local server is only available on Windows and Linux.

Member Function Documentation

[signal] void LocalService::statusChanged()

Signal emitted when the status changes.

[override virtual] LocalService::~LocalService()

Destructor.

QString LocalService::name() const

Returns the name of the service.

QString LocalService::packagePath() const

Returns the package path of the service.

void LocalService::start()

Starts the service on the local server asynchronously.

Monitor the statusChanged signal to wait for startup to complete or fail. Ensure that the local service is started before using the service.

Esri::ArcGISRuntime::LocalServerStatus LocalService::status() const

Returns the status of the service.

void LocalService::stop()

Stops the service asynchronously.

Monitor the statusChanged signal to wait for the service to stop.

[virtual] QUrl LocalService::url() const

Returns the URL of the service.


Feedback on this topic?