CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
ServiceEndpoint Class Referenceabstract
Inheritance diagram for ServiceEndpoint:
RPCEntity

Public Member Functions

 ServiceEndpoint ()
 
abstract void close ()
 
abstract bool is_null ()
 
abstract void pause ()
 
abstract void resume ()
 
ServiceStatus status ()
 
ServiceParams get_service_params ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ServiceEndpoint()

ServiceEndpoint ( )
inline

Default constructor

Member Function Documentation

◆ close()

abstract void close ( )
pure virtual

Release the underlying resources including any DDS entities.

The RPCEntity will no longer be useful and will not participate in any communication.

Implements RPCEntity.

◆ get_service_params()

ServiceParams get_service_params ( )
inline

Access the ServiceParams defining the configuration of this ServiceEndpoint.

◆ is_null()

abstract bool is_null ( )
pure virtual

Indicates if the entity has been 'closed'.

If is_null() is true, then the underlying dds entities have been released and the RPCEntity is no longer useful for operations.

Implements RPCEntity.

◆ pause()

abstract void pause ( )
pure virtual

Pause the operation of the ServiceEndpoint.

This causes the ServiceEndpoint to not invoke an attached listener.

◆ resume()

abstract void resume ( )
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.

◆ status()

ServiceStatus status ( )
inline

Access the current status of the ServiceEndpoint.


© 2009-2020 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.