ZeusBase-Library
2.0.4
|
#include <AbstractSkel.h>
Public Member Functions | |
TClientHandlerThread (TAbstractSkel &rParent, TSocket &rSocket) | |
Retval | getSocket (TSocket *&rpSocket) const |
virtual void | kill (Float64 dTimeOut=5.0) |
virtual void | execute () |
Public Member Functions inherited from zeus::TThread | |
TThread (EPriority ePriority=etNormal) | |
TThread (IRunnable &rObj, EPriority ePriority=etNormal) | |
EPriority | getPriority () const |
void | setPriority (EPriority ePriority) |
virtual bool | isAlive () const |
virtual bool | isDead () const |
virtual void | resume () |
virtual bool | signalizeStop (Float64 dTimeOut=5.0) |
virtual bool | start () |
virtual void | suspend () |
virtual bool | yield () |
virtual Retval | postObject (ISynchronizeObject &rObject, bool bWaitForCompletion) |
virtual bool MQUALIFIER | isInterrupted () const |
virtual Uint MQUALIFIER | getThreadID () const |
virtual Retval MQUALIFIER | askForInterface (const InterfaceID &rInterfaceID, IZUnknown *&rpIface) |
virtual void MQUALIFIER | addRef () const |
virtual void MQUALIFIER | release () const |
Public Member Functions inherited from zeus::TZObject | |
TZObject () | |
TZObject (const TString &strName) | |
TZObject (const IString &strName) | |
Uint | getHash () const |
TString | toString () const |
virtual TString | getObjName () const |
virtual void | setObjName (const TString &name) |
Protected Member Functions | |
virtual | ~TClientHandlerThread () |
Protected Member Functions inherited from zeus::TThread | |
virtual | ~TThread () |
virtual void | onTerminated () |
virtual void | onStarted () |
Protected Member Functions inherited from zeus::TZObject | |
virtual | ~TZObject () |
TZObject (const TZObject &rObject) | |
TZObject & | operator= (const TZObject &rObject) |
Int | getRefCounter () const |
Protected Attributes | |
TAbstractSkel & | m_rParent |
TSocket & | m_rClientSocket |
Protected Attributes inherited from zeus::TThread | |
bool | m_bInterrupted |
Flag to check if the thread should terminate. More... | |
TThreadMessageQueue & | m_rQueue |
Message queue of the thread. More... | |
Protected Attributes inherited from zeus::TZObject | |
Uint | m_uiID |
Additional Inherited Members | |
Public Types inherited from zeus::TThread | |
enum | EPriority { etNormal = 0, etLow = 1, etHigh = 2, etLower = 3, etHigher = 4, etTimeCritical = 5 } |
Static Public Member Functions inherited from zeus::TThread | |
static void | sleep (const Float &rfDelay) |
TAbstractSkel::TClientHandlerThread::TClientHandlerThread | ( | TAbstractSkel & | rParent, |
TSocket & | rSocket | ||
) |
|
protectedvirtual |
|
virtual |
This is the internal running method. Do not call this method directly
Reimplemented from zeus::TThread.
Retval TAbstractSkel::TClientHandlerThread::getSocket | ( | TSocket *& | rpSocket | ) | const |
Returns the socket
|
virtual |
Terminates the thread. If time out is not zero, this method will wait, until the thread terminats itself. If timeout occures, the thread will be forced to terminate. This might cause ressource leaks.
dTimeOut | : Time out |
Reimplemented from zeus::TThread.
|
protected |
|
protected |