C++ common classes
General purpose classes for use across projects (Apache license)
|
#include <CPClientHandler.h>
Public Member Functions | |
CPClientHandler () | |
virtual | ~CPClientHandler () |
virtual int | CallHandleConnection (CPConnection *pConnection) |
Protected Member Functions | |
virtual unsigned | WorkerFunction (void *pParam) |
Function that does the work. | |
virtual void | CallDisconnected (CPConnection *pConnection) |
If we want to call the sockets Disconnected member. |
CPClienthandler is a specialized CPHandler that acts as a TCP client, intiating a connection.
Definition at line 38 of file CPClientHandler.h.
Definition at line 30 of file CPClientHandler.cpp.
CPClientHandler::~CPClientHandler | ( | ) | [virtual] |
Definition at line 39 of file CPClientHandler.cpp.
virtual void CPClientHandler::CallDisconnected | ( | CPConnection * | pConnection | ) | [inline, protected, virtual] |
If we want to call the sockets Disconnected member.
Reimplemented from CPHandler.
Definition at line 53 of file CPClientHandler.h.
virtual int CPClientHandler::CallHandleConnection | ( | CPConnection * | pConnection | ) | [inline, virtual] |
Call the CPConnection->HandleConnection This is here so derived classes can choose NOT to call it in case the handler is chained (like this one)
Reimplemented from CPHandler.
Definition at line 47 of file CPClientHandler.h.
unsigned CPClientHandler::WorkerFunction | ( | void * | pParam | ) | [protected, virtual] |
Function that does the work.
Implements CPHandler.
Definition at line 45 of file CPClientHandler.cpp.