v2.10-0 (21000JUN2005)

Go4TaskHandler
Class TGo4ConnectorRunnable


class TGo4ConnectorRunnable
derived from TGo4Runnable

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

Field Summary
 private TGo4TaskManager*fxTaskManager
           

Fields inherited from class Go4ThreadManager.TGo4Runnable
fxGo4Thread, fxManager

Fields inherited from class TNamed
fName, fTitle

Constructor Summary
 TGo4ConnectorRunnable(const char * name, TGo4ServerTask* man)
           
 private TGo4ConnectorRunnable()
           

Destructor Summary
 virtual synchronized ~TGo4ConnectorRunnable()
           

Method Summary
 virtual Int_tRun(void * ptr)
           

Methods inherited from class Go4ThreadManager.TGo4Runnable
GetThread, GetThreadManager, operator=, PostRun, PreRun, SetThread, ThreadCatch, UnexpectedCatch

Methods inherited from class TNamed
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine

Field Detail

fxTaskManager

private TGo4TaskManager* fxTaskManager
supplierCardinality 1
directed
Constructor Detail

TGo4ConnectorRunnable

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

TGo4ConnectorRunnable

private TGo4ConnectorRunnable()
Method Detail

~TGo4ConnectorRunnable

public virtual synchronized ~TGo4ConnectorRunnable()
Method Detail

Run

public virtual Int_t Run(void * ptr)

Association Links

to Class TGo4TaskManager

Supplier Cardinality 1
Is directed

J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005