C++ common classes
General purpose classes for use across projects (Apache license)
CPClientHandler Class Reference

#include <CPClientHandler.h>

Inheritance diagram for CPClientHandler:
CPHandler CXPlatThread

List of all members.

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.

Detailed Description

CPClienthandler is a specialized CPHandler that acts as a TCP client, intiating a connection.

Definition at line 38 of file CPClientHandler.h.


Constructor & Destructor Documentation

Definition at line 30 of file CPClientHandler.cpp.

Definition at line 39 of file CPClientHandler.cpp.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines