| v2.10-0 (21000JUN2005) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Runnable responsible for command exchange between transport (socket) and buffer (queue)
In receiver mode, commands are received from transport, checked if sync or not, the
command receiver of system (client) commands is set to the clienttask, sync commands are executed
directly, async commands are passed to the queue
in not receiver mode, runnables waits for the queue and sends all commands from the queue
over the transport
Field Summary | |
private TGo4CommandInvoker* | fxInvoker client mode: link to external (static) invoker singleton, that is used to execute the async commands before the command queue server mode: not used |
Fields inherited from class Go4TaskHandler.TGo4TaskHandlerRunnable |
fbReceiverMode, fxBufferQueue, fxTaskHandler, fxTransport |
Fields inherited from class Go4ThreadManager.TGo4Runnable |
fxGo4Thread, fxManager |
Fields inherited from class TNamed |
fName, fTitle |
Constructor Summary | |
| TGo4CommandRunnable(const char * name, TGo4ThreadManager* man, TGo4TaskHandler* hand, Bool_t receivermode) |
private | TGo4CommandRunnable() |
Destructor Summary | |
virtual synchronized | ~TGo4CommandRunnable() |
Method Summary | |
private void | RedirectIO() for error in socket: redirect cout/cerr to dummy buffer to avoid trouble if client is running in dying QProcess |
virtual Int_t | Run(void * ptr) |
Methods inherited from class Go4TaskHandler.TGo4TaskHandlerRunnable |
CheckStopBuffer, CheckTransportOpen, GetTaskHandler |
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 |
private TGo4CommandInvoker* fxInvoker
Constructor Detail |
public TGo4CommandRunnable(const char * name, TGo4ThreadManager* man, TGo4TaskHandler* hand, Bool_t receivermode)
private TGo4CommandRunnable()
Method Detail |
public virtual synchronized ~TGo4CommandRunnable()
Method Detail |
private void RedirectIO()
public virtual Int_t Run(void * ptr)
Association Links |
| J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |