#include <TGo4Master.h>
Public Member Functions | |
TGo4Master () | |
TGo4Master (const char *name, Bool_t isserver=kTRUE, const char *serverhost="localhost", UInt_t negotport=5000) | |
virtual | ~TGo4Master () |
Bool_t | SubmitCommand (const char *name) |
send command specified by name to the current slave task | |
Bool_t | SubmitEmergencyCommand (Go4EmergencyCommand_t val) |
send emergency quit command to the current slave task | |
Bool_t | SubmitCommand (TGo4Command *com) |
send given command to the current slave task. | |
virtual TGo4TaskHandlerCommandList * | CreateCommandList () |
factory method for command list; overridden by implementation | |
virtual Bool_t | DisconnectSlave (const char *name=0, Bool_t waitforslave=kTRUE) |
Private Attributes | |
TString | fxSlaveNode |
Name of the node where the slave is running. | |
TString | fxSlaveShell |
Name of the shell where the slave is running. | |
TString | fxSlaveExec |
Name of the executable (command) that is running in the slave process. |
Definition at line 25 of file TGo4Master.h.
TGo4Master::TGo4Master | ( | ) |
Definition at line 25 of file TGo4Master.cxx.
TGo4Master::TGo4Master | ( | const char * | name, | |
Bool_t | isserver = kTRUE , |
|||
const char * | serverhost = "localhost" , |
|||
UInt_t | negotport = 5000 | |||
) |
Definition at line 30 of file TGo4Master.cxx.
TGo4Master::~TGo4Master | ( | ) | [virtual] |
Definition at line 54 of file TGo4Master.cxx.
Bool_t TGo4Master::SubmitCommand | ( | const char * | name | ) |
send command specified by name to the current slave task
Definition at line 64 of file TGo4Master.cxx.
Bool_t TGo4Master::SubmitEmergencyCommand | ( | Go4EmergencyCommand_t | val | ) |
Bool_t TGo4Master::SubmitCommand | ( | TGo4Command * | com | ) |
send given command to the current slave task.
Command object is deleted after this call internally!
Definition at line 76 of file TGo4Master.cxx.
TGo4TaskHandlerCommandList * TGo4Master::CreateCommandList | ( | ) | [virtual] |
factory method for command list; overridden by implementation
Definition at line 59 of file TGo4Master.cxx.
Bool_t TGo4Master::DisconnectSlave | ( | const char * | name = 0 , |
|
Bool_t | waitforslave = kTRUE | |||
) | [virtual] |
Definition at line 82 of file TGo4Master.cxx.
TString TGo4Master::fxSlaveNode [private] |
Name of the node where the slave is running.
Used to kill it later.
Definition at line 54 of file TGo4Master.h.
TString TGo4Master::fxSlaveShell [private] |
Name of the shell where the slave is running.
Used to kill it later.
Definition at line 59 of file TGo4Master.h.
TString TGo4Master::fxSlaveExec [private] |
Name of the executable (command) that is running in the slave process.
Used to kill it later.
Definition at line 65 of file TGo4Master.h.