Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4StatusRunnable Class Reference

Runnable responsible for status object exchange between transport (socket) and buffer (queue) In receiver mode, status objects are received from transport and passed to the queue in non receiver mode, runnables waits for the queue and sends all status objects from the queue over the transport @stereotype thread. More...

#include <TGo4StatusRunnable.h>

Inheritance diagram for TGo4StatusRunnable:

TGo4TaskHandlerRunnable TGo4Runnable List of all members.

Public Methods

 TGo4StatusRunnable (const char *name, TGo4ThreadManager *man, TGo4TaskHandler *hand, Bool_t receivermode=kTRUE)
virtual ~TGo4StatusRunnable ()
virtual Int_t Run (void *ptr)
 The working function which runs in the thread. More...


Private Methods

 TGo4StatusRunnable ()

Detailed Description

Runnable responsible for status object exchange between transport (socket) and buffer (queue) In receiver mode, status objects are received from transport and passed to the queue in non receiver mode, runnables waits for the queue and sends all status objects from the queue over the transport @stereotype thread.

Definition at line 32 of file TGo4StatusRunnable.h.


Constructor & Destructor Documentation

TGo4StatusRunnable::TGo4StatusRunnable const char *    name,
TGo4ThreadManager   man,
TGo4TaskHandler   hand,
Bool_t    receivermode = kTRUE
 

Definition at line 28 of file TGo4StatusRunnable.cxx.

References TGo4TaskHandlerRunnable::fxBufferQueue, TGo4TaskHandlerRunnable::fxTaskHandler, TGo4TaskHandlerRunnable::fxTransport, TGo4TaskHandler::GetStatusQueue(), and TGo4TaskHandler::GetStatusTransport().

TGo4StatusRunnable::~TGo4StatusRunnable   [virtual]
 

Definition at line 36 of file TGo4StatusRunnable.cxx.

TGo4StatusRunnable::TGo4StatusRunnable   [private]
 


Member Function Documentation

Int_t TGo4StatusRunnable::Run void *    ptr [virtual]
 

The working function which runs in the thread.

Implements TGo4TaskHandlerRunnable.

Definition at line 40 of file TGo4StatusRunnable.cxx.

References TGo4BufferQueue::AddBuffer(), TGo4TaskHandlerRunnable::CheckStopBuffer(), TGo4TaskHandlerRunnable::CheckTransportOpen(), TGo4Log::Debug(), TGo4SocketSignalHandler::fgiLastSignal, TGo4BufferQueue::FreeBuffer(), TGo4TaskHandlerRunnable::fxBufferQueue, TGo4Runnable::fxManager, TGo4TaskHandlerRunnable::fxTaskHandler, TGo4TaskHandlerRunnable::fxTransport, TGo4Socket::GetBuffer(), TGo4Runnable::GetThread(), TGo4ThreadManager::IsTerminating(), TGo4Socket::ReceiveBuffer(), TGo4Socket::SendBuffer(), TGo4Thread::Stop(), and TGo4BufferQueue::WaitBuffer().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:56 2005 for Go4-v2.10-5 by doxygen1.2.15