Go4TaskHandler
Class TGo4TaskOwner
- Direct Known Subclasses:
- TGo4Master, TGo4Slave
- class TGo4TaskOwner
- derived from TGo4CommandReceiver
Baseclass for all instances that can own a TGo4Task. Bridge between client/server functionality and master/slave.
- Author:
- Joern Adamczewski
- Since: 17-03-2005
Method Summary |
const const char * | GetName() |
TGo4Task* | GetTask() |
Bool_t | IsConnected() |
Bool_t | IsServer() |
virtual void | Quit() Quit this instance and the owned task; method to be called from command object, may be overridden in user implementation |
protected void | SetTask(TGo4Task* task, Bool_t delold) |
virtual Int_t | StartWorkThreads() Start the working threads of the task owner implementation; this method is used after the current connection has changed, to continue reading/writing the queues. |
virtual Int_t | StopWorkThreads() stop the working threads of the task owne implementation; this method is used before the current connection is changed to prevent reading/writing and waiting for the wrong queues. |
fbServerMode
private Bool_t fbServerMode
- Flag if master uses servertask or client task connection.
fxTask
private TGo4Task* fxTask
- supplierCardinality 1
- link aggregation
- clientCardinality 1
TGo4TaskOwner
public TGo4TaskOwner()
TGo4TaskOwner
public TGo4TaskOwner(Bool_t isserver)
~TGo4TaskOwner
public virtual synchronized ~TGo4TaskOwner()
GetName
public const const char * GetName()
GetTask
public TGo4Task* GetTask()
IsConnected
public Bool_t IsConnected()
IsServer
public Bool_t IsServer()
Quit
public virtual void Quit()
- Quit this instance and the owned task;
method to be called from
command object, may be overridden in user
implementation
SetTask
protected void SetTask(TGo4Task* task, Bool_t delold)
StartWorkThreads
public virtual Int_t StartWorkThreads()
- Start the working threads of the task owner implementation;
this method is used after the current connection has changed, to continue reading/writing
the queues. To be overridden.
StopWorkThreads
public virtual Int_t StopWorkThreads()
- stop the working threads of the task owne implementation;
this method is used before the current connection is changed to prevent reading/writing
and waiting for the wrong queues. To be overridden.
to Class TGo4Task- Client Cardinality 1
- Supplier Cardinality 1
- Type aggregation
30-06-2005