The base class for local service classes. More...
Header: | #include <LocalService.h> |
Inherits: | Esri::ArcGISRuntime::Object |
Inherited By: | Esri::ArcGISRuntime::LocalGeoprocessingService and Esri::ArcGISRuntime::LocalMapService |
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
[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.
[signal]
void LocalService::statusChanged ()
Signal emitted when the status changes.
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.