ParCompMark::HandleClient Class Reference
#include <PCMHandleClient.h>
Inheritance diagram for ParCompMark::HandleClient:
Detailed Description
Class for handle client messages.
Definition at line 58 of file PCMHandleClient.h.
Methods | |
virtual void | initialize () |
Initialize the class (broadcast recieve thread). | |
virtual void | finalize () |
Initialize the class (broadcast recieve thread). | |
virtual void | openConnection () |
Open TCP/IP connection (do nothing). | |
virtual void | task () |
Handle a client. | |
Public Types | |
typedef ParCompMark::Pointer< HandleClient, DummyLock > | Pointer |
Type for pointer or this class. | |
Public Member Functions | |
Constructors & destructor | |
HandleClient (const NetServer *net) | |
Create HandleClient class. | |
virtual | ~HandleClient () |
The destructor. |
Member Typedef Documentation
Type for pointer or this class.
Reimplemented from ParCompMark::Client.
Definition at line 76 of file PCMHandleClient.h.
Constructor & Destructor Documentation
ParCompMark::HandleClient::HandleClient | ( | const NetServer * | net | ) |
Create HandleClient class.
- Parameters:
-
[in] net Parent network.
Definition at line 42 of file PCMHandleClient.cpp.
References initialize(), ParCompMark::Network::mInitialized, and ParCompMark::Client::mParent.
Here is the call graph for this function:
ParCompMark::HandleClient::~HandleClient | ( | ) | [virtual] |
The destructor.
This class has virtual destructor.
Definition at line 55 of file PCMHandleClient.cpp.
References finalize(), and ParCompMark::Network::mInitialized.
Here is the call graph for this function:
Member Function Documentation
void ParCompMark::HandleClient::finalize | ( | ) | [virtual] |
Initialize the class (broadcast recieve thread).
Definition at line 80 of file PCMHandleClient.cpp.
References Assert, ParCompMark::Network::mInitialized, and ParCompMark::Network::mStreamSocket.
Referenced by ~HandleClient().
void ParCompMark::HandleClient::initialize | ( | ) | [virtual] |
Initialize the class (broadcast recieve thread).
Definition at line 71 of file PCMHandleClient.cpp.
References Assert, and ParCompMark::Network::mInitialized.
Referenced by HandleClient().
void ParCompMark::HandleClient::openConnection | ( | ) | [virtual] |
Open TCP/IP connection (do nothing).
Reimplemented from ParCompMark::Client.
Definition at line 95 of file PCMHandleClient.cpp.
References Assert, and ParCompMark::Network::mStreamSocket.
void ParCompMark::HandleClient::task | ( | ) | [protected, virtual] |
Handle a client.
Reimplemented from ParCompMark::Thread.
Definition at line 104 of file PCMHandleClient.cpp.
References Assert, ParCompMark::Pointer< T, Lock >::getPtr(), ParCompMark::Client::handleMessage(), ParCompMark::Pointer< T, Lock >::lock(), ParCompMark::Client::mParent, ParCompMark::Network::mStreamSocket, ParCompMark::Client::recieveMessage(), and ParCompMark::Pointer< T, Lock >::unlock().
Here is the call graph for this function:
The documentation for this class was generated from the following files: