v2.10-0 (21000JUN2005)

Go4TaskHandler
Class TGo4LocalCommandRunnable


class TGo4LocalCommandRunnable
derived from TGo4Runnable

Runnable which executes all local commands on the server side to
prevent gui from blocking. Will listen to a server side command queue
and invokes command by server command invoker.
Method SubmitCommand will either send all Callback commands
to current client (remote command), or put it into the local queue.
Note that local commands would also be possible on the client side now,
since local command queue and this thread is owned by TGo4Task baseclass

Stereotype thread

Field Summary
 private TGo4Task*fxLocalTask
           
 private TGo4ObjectQueue*fxQueue
          Link to external command queue

Fields inherited from class Go4ThreadManager.TGo4Runnable
fxGo4Thread, fxManager

Fields inherited from class TNamed
fName, fTitle

Constructor Summary
 TGo4LocalCommandRunnable(const char * name, TGo4Task* task)
           
 private TGo4LocalCommandRunnable()
           

Destructor Summary
 virtual synchronized ~TGo4LocalCommandRunnable()
           

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

fxLocalTask

private TGo4Task* fxLocalTask
supplierCardinality 1
directed

fxQueue

private TGo4ObjectQueue* fxQueue
Link to external command queue
Constructor Detail

TGo4LocalCommandRunnable

public TGo4LocalCommandRunnable(const char * name, TGo4Task* task)

TGo4LocalCommandRunnable

private TGo4LocalCommandRunnable()
Method Detail

~TGo4LocalCommandRunnable

public virtual synchronized ~TGo4LocalCommandRunnable()
Method Detail

Run

public virtual Int_t Run(void * ptr)

Association Links

to Class TGo4Task

Supplier Cardinality 1
Is directed

to Class TGo4ObjectQueue

Link to external command queue

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

30-06-2005