LocalService Class

  • LocalService
  • 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

    [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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.