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 Member Functions

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

Private Member Functions

 TGo4ConnectorRunnable ()

Private Attributes

TGo4TaskManagerfxTaskManager
 1


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... thread

Definition at line 34 of file TGo4ConnectorRunnable.h.


Constructor & Destructor Documentation

TGo4ConnectorRunnable::TGo4ConnectorRunnable ( const char *  name,
TGo4ServerTask man 
)

Definition at line 21 of file TGo4ConnectorRunnable.cxx.

TGo4ConnectorRunnable::~TGo4ConnectorRunnable (  )  [virtual]

Definition at line 27 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 31 of file TGo4ConnectorRunnable.cxx.


Member Data Documentation

1

Definition at line 50 of file TGo4ConnectorRunnable.h.


The documentation for this class was generated from the following files:

Generated on Thu Oct 28 12:31:29 2010 for Go4-Taskhandlerv4.04-2 by  doxygen 1.5.6