56 TGo4Slave(
const char *name, Bool_t isserver=kTRUE,
const char *serverhost=
"localhost", UInt_t negotport=5000);
86 virtual void Terminate (Bool_t termapp=kTRUE);
104 void SendObject(TObject *obj,
const char *receiver =
nullptr);
125 virtual void SendStatusMessage(Int_t level, Bool_t printout,
const TString &text);
This is the Go4 Abstract Command Class; part of the Base command pattern.
virtual TGo4TaskStatus * CreateStatus()
create a status object with information on the current (slave) task.
virtual void TerminateFast()
virtual void Terminate(Bool_t termapp=kTRUE)
virtual void Start()
General start method of slave application to be called from remote command; should be re-implemented ...
virtual Int_t Initialization()
Overrides the ThreadManager Initialization; is used to setup the client connections on demand; checks...
virtual void SendStatusMessage(Int_t level, Bool_t printout, const TString &text)
Send message string in a status object to the gui.
void SendStatus(TGo4Status *stat, const char *receiver=nullptr)
Send status object via status channel to the server.
virtual void KillMain()
Kill the main thread; method to be called from command, should be overridden in user implementation.
TGo4ThreadHandler * GetThreadHandler()
void SendStatusBuffer()
Send internal status buffer to the server.
virtual void UpdateStatus(TGo4TaskStatus *state)
method needed by method CreateStatus of any status subclasses to set the values of the clienttask spe...
TGo4Command * NextCommand()
Delivers next command from command queue.
void SendObject(TObject *obj, const char *receiver=nullptr)
Send object via data channel to the server.
virtual void ExecuteString(const char *command)
Execute string command.
Bool_t MainIsRunning() const
virtual void Stop()
General stop method of slave application to be called from remote command; should be re-implemented b...
Bool_t fbMainIsRunning
True if analysis main loop is running.
void UpdateStatusBuffer()
Create status object and stream it into the status send buffer.
virtual void RestartMain()
Restart the main thread; method to be called from command, should be overridden in user implementatio...