ADTF  3.18.2
AbstractServerConnectorabstract
Inheritance diagram for AbstractServerConnector:
[legend]

Public Member Functions

virtual bool StartListening ()=0
 This method should signal the Connector to start waiting for requests, in any way that is appropriate for the derived connector class. More...
 
virtual bool StopListening ()=0
 This method should signal the Connector to stop waiting for requests, in any way that is appropriate for the derived connector class. More...
 
void ProcessRequest (const std::string &request, std::string &response)
 
void SetHandler (IClientConnectionHandler *handler)
 
IClientConnectionHandlerGetHandler ()
 

Private Attributes

IClientConnectionHandlerhandler
 

Detailed Description

Definition at line 18 of file abstractserverconnector.h.

Member Function Documentation

◆ StartListening()

virtual bool StartListening ( )
pure virtual

This method should signal the Connector to start waiting for requests, in any way that is appropriate for the derived connector class.

If something went wrong, this method should return false, otherwise true.

Implemented in cServerConnector, and AbstractThreadedServer.

◆ StopListening()

virtual bool StopListening ( )
pure virtual

This method should signal the Connector to stop waiting for requests, in any way that is appropriate for the derived connector class.

If something went wrong, this method should return false, otherwise true.

Implemented in cServerConnector, and AbstractThreadedServer.