| 
    AceSmartSoft API Documentation
    
   | 
 
#include <smartEventServerPattern.hh>
  
 Public Member Functions | |
| EventServerServiceHandler (ACE_Reactor *reactor=ACE_Reactor::instance()) | |
| Default constructor and destructor.  More... | |
| virtual | ~EventServerServiceHandler () | 
| virtual int | open (void *handler=0) | 
| Initialization to create and activate an instance of this ACE_Svc_Handler class.  More... | |
| Smart::StatusCode | event (const SmartACE::SmartMessageBlock *user, size_t id) | 
| Smart::StatusCode | serverInitiatedDisconnect (int cid) | 
| Smart::StatusCode | acknowledgmentConnect (int cid, int status) | 
| Smart::StatusCode | acknowledgmentDisconnect () | 
| Smart::StatusCode | acknowledgmentActivate (size_t id) | 
  Public Member Functions inherited from SmartACE::ServiceHandler | |
| ServiceHandler (ACE_Reactor *reactor=ACE_Reactor::instance()) | |
| Default constructor and destructor.  More... | |
| virtual | ~ServiceHandler () | 
| virtual int | handle_input (ACE_HANDLE fd=ACE_INVALID_HANDLE) | 
| This is the main input-handler function that is called by the reactor to handle incoming data streams.  More... | |
| virtual int | handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask) | 
| Hook handler method to handle closing connection.  More... | |
| virtual int | send_command_message (ACE_CDR::Long commandId, const ACE_Message_Block *further_comands=NULL, const ACE_Message_Block *message=NULL) | 
| This method encapsulates the message sending behavior.  More... | |
| void | trigger_shutdown () | 
| Trigger the shutdown procedure to be executed by the reactor.  More... | |
| bool | is_disconnected () const | 
| This method returns true if reactor has closed the connection (due to e.g.  More... | |
  Public Member Functions inherited from SmartEventClientInterface | |
| virtual | ~SmartEventClientInterface () | 
Additional Inherited Members | |
  Protected Types inherited from SmartACE::ServiceHandler | |
| typedef ACE_Svc_Handler< ACE_SOCK_STREAM, ACE_NULL_SYNCH > | super | 
| Definition for parent class.  More... | |
  Protected Member Functions inherited from SmartACE::ServiceHandler | |
| virtual int | handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE) | 
| This callback handler is indirectly triggered (using the reactor's notify mechanism) from the method trigger_shutdown() which can be used by external threads.  More... | |
| virtual void | destroy (void) | 
| This class is overloaded from base class to change visibility (in order to prevent the destruction from external threads).  More... | |
  Protected Attributes inherited from SmartACE::ServiceHandler | |
| bool | connectionClosedByUser | 
| This internal variable is used to distinguish whether a connection is closed actively by an external thread (using the method trigger_shutdown() ) or the connection is closed because the underlying socket is broken.  More... | |
| bool | connectionResetByReactor | 
| This internal variable indicates that a connection was closed by reactor e.g.  More... | |
| SmartACE::EventServerServiceHandler::EventServerServiceHandler | ( | ACE_Reactor * | reactor = ACE_Reactor::instance() | ) | 
Default constructor and destructor.
      
  | 
  virtual | 
      
  | 
  virtual | 
Implements SmartEventClientInterface.
      
  | 
  virtual | 
Implements SmartEventClientInterface.
      
  | 
  virtual | 
Implements SmartEventClientInterface.
      
  | 
  virtual | 
Implements SmartEventClientInterface.
      
  | 
  virtual | 
Initialization to create and activate an instance of this ACE_Svc_Handler class.
Here, memory allocation and ACE_Svc_Handler parameterization takes place. The default implementation just calls the same method from parent class.
| handler | A pointer to the parent controlling class (in this case ACE_Connector or ACE_Acceptor) | 
Reimplemented from SmartACE::ServiceHandler.
      
  | 
  virtual | 
Implements SmartEventClientInterface.
 1.8.13