#include <Service_Object.h>
Public Member Functions | |
ACE_Service_Object (ACE_Reactor *=0) | |
Constructor. | |
virtual | ~ACE_Service_Object (void) |
Destructor. | |
virtual int | suspend (void) |
Temporarily disable a service without removing it completely. | |
virtual int | resume (void) |
Re-enable a previously suspended service. |
Classes that inherit from <ACE_Service_Objects> are capable of being registered with the ACE_Reactor (due to the ACE_Event_Handler, as well as being dynamically linked by the ACE_Service_Config (due to the <ACE_Shared_Object>).
ACE_Service_Object::ACE_Service_Object | ( | ACE_Reactor * | r = 0 |
) |
Constructor.
ACE_Service_Object::~ACE_Service_Object | ( | void | ) | [virtual] |
Destructor.
int ACE_Service_Object::suspend | ( | void | ) | [virtual] |
Temporarily disable a service without removing it completely.
Reimplemented in ACE_Acceptor< SVC_HANDLER, >, ACE_Strategy_Acceptor< SVC_HANDLER, >, ACE_Oneshot_Acceptor< SVC_HANDLER, >, ACE_Connector< SVC_HANDLER, >, ACE_Service_Manager, ACE_Task_Base, ACE_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_2 >, and ACE_Connector< SVC_HANDLER, ACE_PEER_CONNECTOR_2 >.
int ACE_Service_Object::resume | ( | void | ) | [virtual] |
Re-enable a previously suspended service.
Reimplemented in ACE_Acceptor< SVC_HANDLER, >, ACE_Strategy_Acceptor< SVC_HANDLER, >, ACE_Oneshot_Acceptor< SVC_HANDLER, >, ACE_Connector< SVC_HANDLER, >, ACE_Service_Manager, ACE_Task_Base, ACE_Acceptor< SVC_HANDLER, ACE_PEER_ACCEPTOR_2 >, and ACE_Connector< SVC_HANDLER, ACE_PEER_CONNECTOR_2 >.