#include <coherence/util/Service.hpp>
Inherits Controllable.
Inherited by Service [virtual]
.
Public Types | |
typedef spec::Handle | Handle |
Service Handle definition. | |
typedef spec::View | View |
Service View definition. | |
typedef spec::Holder | Holder |
Service Holder definition. | |
Public Member Functions | |
virtual void | addServiceListener (ServiceListener::Handle hListener)=0 |
Register a ServiceListener that will receive events pertaining to the lifecycle of this Service. | |
virtual void | removeServiceListener (ServiceListener::Handle hListener)=0 |
Unregister a ServiceListener from this ConnectionManager. |
virtual void addServiceListener | ( | ServiceListener::Handle | hListener | ) | [pure virtual] |
Register a ServiceListener that will receive events pertaining to the lifecycle of this Service.
hListener | the new ServiceListener to register; if the listener has already been registered, this method has no effect |
virtual void removeServiceListener | ( | ServiceListener::Handle | hListener | ) | [pure virtual] |
Unregister a ServiceListener from this ConnectionManager.
After a ServiceListener is removed, it will no longer receive events pertaining to the lifecycle of this Service.
hListener | the ServiceListener to deregister; if the listener has not previously been registered, this method has no effect |