16#include "TApplication.h"
54 TGo4Log::Debug(
" TaskHandlerAbortException: taskhandler is already aborting ");
76 TGo4Log::Debug(
" TaskHandlerAbortException for slave %s ... ", taskname);
84 TGo4Log::Debug(
" TaskHandlerAbortException on slave server: revoming client %s", taskname);
87 TGo4Log::Debug(
" TaskHandlerAbortException: Terminating slave...");
93 TGo4Log::Debug(
" TaskHandlerAbortException: Removing current slave... ");
97 discommand->
SetSlave(
"currentclient");
99 TGo4Log::Debug(
" TaskHandlerAbortException: Disconnecting current slave");
105 TGo4Log::Debug(
" TaskHandlerAbortException: Quit client %s ... ", taskname);
113 TGo4Log::Debug(
" TaskHandlerAbortException: Disconnecting client %s ... ", taskname);
119 gApplication->Terminate();
master command: current slave is removed (disconnected) from server
void SetWaitForSlave(Bool_t wait=kTRUE)
void SetSlave(const char *name)
Specify the name of the client to be removed.
server command: current client is removed (disconnected) from server
void SetWaitForClient(Bool_t wait=kTRUE)
void SetClient(const char *name)
Specify the name of the client to be removed.
static void Debug(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 0.
Baseclass for all slave process entities.
virtual void TerminateFast()
Int_t Handle() override
This is a default handler function for the respective exception type.
virtual ~TGo4TaskHandlerAbortException()
TGo4TaskHandlerAbortException()=delete
TGo4ThreadManager * fxThreadManager
TGo4TaskHandler * fxTaskHandler
TGo4TaskHandlerException()=delete
TGo4TaskHandlerRunnable * fxCaller
This is the abstract interface for all runnables associated with the taskhandler class.
This class is responsible for the interconnection of two tasks: provided are three communication chan...
Bool_t SubmitCommand(const char *name)
send command specified by name to the current client task
TGo4Slave * GetSlave() const
void TerminateFast() override
Overwrites the Threadmanager TerminateFast to shutdown the objectserver properly.
TGo4Master * GetMaster() const