SearchSECODatabaseAPI
TcpConnection Class Reference
Inheritance diagram for TcpConnection:
Collaboration diagram for TcpConnection:

Public Types

typedef boost::shared_ptr< TcpConnectionpointer
 

Public Member Functions

tcp::socket & socket ()
 
virtual void sendData (const std::string &data, boost::system::error_code &error)
 Sends the given data to the other side of the connection.
 
virtual void start (RequestHandler *handler, pointer thisPointer, Statistics *stats)
 Starts the handeling of a request. Takes in the request handler to call.
 

Static Public Member Functions

static pointer create (boost::asio::io_context &ioContext)
 Creates the pointer to the tcp connection. Takes in the io context.
 

Protected Member Functions

 TcpConnection (boost::asio::io_context &ioContext)
 Constructor. Not public because you need to use the create method. Not private because we need this constructor for the mock.
 

The documentation for this class was generated from the following files: