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

TGo4ConnectorRunnable Class Reference

Runnable to handle connection request from a new client which connects to a listening Transport channel (socket) on a fixed port number (e.g. More...

#include <TGo4ConnectorRunnable.h>

Inheritance diagram for TGo4ConnectorRunnable:

TGo4Runnable List of all members.

Public Methods

 TGo4ConnectorRunnable (const char *name, TGo4ServerTask *man)
virtual ~TGo4ConnectorRunnable ()
virtual Int_t Run (void *ptr)
 The working function which runs in the thread. More...


Private Methods

 TGo4ConnectorRunnable ()

Private Attributes

TGo4TaskManagerfxTaskManager
 @supplierCardinality 1 @directed. More...


Detailed Description

Runnable to handle connection request from a new client which connects to a listening Transport channel (socket) on a fixed port number (e.g.

5000). When client asks the connector runnable for a new task handler connection (in method Connect of client task handler in client mode), this runnable tells him the first port number and machine name of the server, creates a new task handler in server mode, adds it to the task manager and invokes the server task handler's Connect. Then the three transport channels with the correct port numbers should be established... @stereotype thread

Definition at line 36 of file TGo4ConnectorRunnable.h.


Constructor & Destructor Documentation

TGo4ConnectorRunnable::TGo4ConnectorRunnable const char *    name,
TGo4ServerTask   man
 

Definition at line 22 of file TGo4ConnectorRunnable.cxx.

References fxTaskManager.

TGo4ConnectorRunnable::~TGo4ConnectorRunnable   [virtual]
 

Definition at line 28 of file TGo4ConnectorRunnable.cxx.

TGo4ConnectorRunnable::TGo4ConnectorRunnable   [private]
 


Member Function Documentation

Int_t TGo4ConnectorRunnable::Run void *    ptr [virtual]
 

The working function which runs in the thread.

Implements TGo4Runnable.

Definition at line 32 of file TGo4ConnectorRunnable.cxx.

References TGo4Runnable::fxGo4Thread, fxTaskManager, TGo4TaskManager::ServeClient(), and TGo4Thread::Stop().


Member Data Documentation

TGo4TaskManager* TGo4ConnectorRunnable::fxTaskManager [private]
 

@supplierCardinality 1 @directed.

Definition at line 52 of file TGo4ConnectorRunnable.h.

Referenced by Run(), and TGo4ConnectorRunnable().


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