Public Member Functions | |
ServiceEndpoint () | |
abstract void | close () |
abstract bool | is_null () |
abstract void | pause () |
abstract void | resume () |
ServiceStatus | status () |
ServiceParams | get_service_params () |
A ServiceEndpoint provides functions to manage a service (e.g., pause, resume, close, etc.) A ServiceEndpoint shall not be instantiated directly; it can be obtained from a Service object. ServiceEndpoint is a reference type. All 'Service' implementations derive from ServiceEndpoint.
|
inline |
Default constructor
|
pure virtual |
|
inline |
Access the ServiceParams defining the configuration of this ServiceEndpoint.
|
pure virtual |
|
pure virtual |
Pause the operation of the ServiceEndpoint.
This causes the ServiceEndpoint to not invoke an attached listener.
|
pure virtual |
Resume the operation of the ServiceEndpoint.
This causes the ServiceEndpoint to invoke any attached listeners upon reception of a request. In order to handle any requests received while the ServiceEndpoint was paused, the listener will be invoked as part of the resume() operation.
|
inline |
Access the current status of the ServiceEndpoint.