#include <TGo4ComConnectSlave.h>
Inheritance diagram for TGo4ComConnectSlave:
Public Methods | |
TGo4ComConnectSlave () | |
virtual | ~TGo4ComConnectSlave () |
void | SetSlaveName (const char *name) |
Specify the name of the client to be launched. More... | |
void | SetSlaveHost (const char *name) |
Specify the hostname of the client process. More... | |
void | SetSlaveDir (const char *name) |
Specify the name of the client directory. More... | |
void | SetSlaveExecutable (const char *name) |
Specify name of executable program on client side. More... | |
void | SetSlavePort (UInt_t num) |
void | SetSlaveMode (Int_t mode) |
Specify client mode (meaning defined by taskhandler user, i.e. More... | |
void | SetStartServer (Bool_t on) |
void | SetLogin (Go4CommandMode_t mode) |
void | SetPassword (const char *wd) |
Int_t | ExeCom () |
Do the command action. More... | |
Private Attributes | |
TString | fxSlaveName |
name of the slave to be launched. More... | |
TString | fxSlaveHost |
slave machine host name. More... | |
TString | fxSlaveDir |
working directory of the slave. More... | |
TString | fxSlaveExecutable |
executable to start on the slave side. More... | |
Int_t | fiMode |
slave start mode (master as server only). More... | |
UInt_t | fuPort |
Port for negotiation connection (master as client only). More... | |
Bool_t | fbStartServer |
If this is true, master will launch a slave server itself before trying to connect to it (master as client). More... | |
Go4CommandMode_t | fiLoginMode |
specify login mode. More... | |
TString | fxPasswd |
login password, must match to login mode. More... |
Slave is either started in remote shell and connects then back to master (master in server mode); or master will try to connect to exisiting slave server (master in client mode).
Definition at line 27 of file TGo4ComConnectSlave.h.
|
Definition at line 23 of file TGo4ComConnectSlave.cxx. References TGo4Command::fbIsLocal, fbStartServer, fuPort, fxSlaveDir, fxSlaveExecutable, fxSlaveHost, fxSlaveName, and TGo4Command::SetReceiverName(). |
|
Definition at line 37 of file TGo4ComConnectSlave.cxx. |
|
Specify the name of the client to be launched.
Definition at line 35 of file TGo4ComConnectSlave.h. References fxSlaveName. Referenced by TGo4StartClientSlots::StartClient(). |
|
Specify the hostname of the client process.
Definition at line 42 of file TGo4ComConnectSlave.h. References fxSlaveHost. Referenced by TGo4StartClientSlots::StartClient(). |
|
Specify the name of the client directory.
Definition at line 48 of file TGo4ComConnectSlave.h. References fxSlaveDir. Referenced by TGo4StartClientSlots::StartClient(). |
|
Specify name of executable program on client side.
Definition at line 54 of file TGo4ComConnectSlave.h. References fxSlaveExecutable. Referenced by TGo4StartClientSlots::StartClient(). |
|
Definition at line 59 of file TGo4ComConnectSlave.h. References fuPort. Referenced by TGo4StartClientSlots::StartClient(). |
|
Specify client mode (meaning defined by taskhandler user, i.e. analysisclient in go4) Definition at line 62 of file TGo4ComConnectSlave.h. References fiMode. Referenced by TGo4StartClientSlots::StartClient(). |
|
Definition at line 64 of file TGo4ComConnectSlave.h. References fbStartServer. Referenced by TGo4StartClientSlots::StartClient(). |
|
Definition at line 66 of file TGo4ComConnectSlave.h. References fiLoginMode, and Go4CommandMode_t. Referenced by TGo4StartClientSlots::StartClient(). |
|
Definition at line 68 of file TGo4ComConnectSlave.h. References fxPasswd. Referenced by TGo4StartClientSlots::StartClient(). |
|
Do the command action.
Reimplemented from TGo4Command. Definition at line 42 of file TGo4ComConnectSlave.cxx. References TGo4Master::ConnectSlave(), TGo4Log::Debug(), fbStartServer, fiLoginMode, fiMode, fuPort, fxPasswd, fxSlaveDir, fxSlaveExecutable, fxSlaveHost, and fxSlaveName. |
|
name of the slave to be launched.
Definition at line 75 of file TGo4ComConnectSlave.h. Referenced by ExeCom(), SetSlaveName(), and TGo4ComConnectSlave(). |
|
slave machine host name.
Definition at line 78 of file TGo4ComConnectSlave.h. Referenced by ExeCom(), SetSlaveHost(), and TGo4ComConnectSlave(). |
|
working directory of the slave.
Definition at line 81 of file TGo4ComConnectSlave.h. Referenced by ExeCom(), SetSlaveDir(), and TGo4ComConnectSlave(). |
|
executable to start on the slave side.
Definition at line 84 of file TGo4ComConnectSlave.h. Referenced by ExeCom(), SetSlaveExecutable(), and TGo4ComConnectSlave(). |
|
slave start mode (master as server only).
Reimplemented from TGo4Command. Definition at line 87 of file TGo4ComConnectSlave.h. Referenced by ExeCom(), and SetSlaveMode(). |
|
Port for negotiation connection (master as client only).
Definition at line 90 of file TGo4ComConnectSlave.h. Referenced by ExeCom(), SetSlavePort(), and TGo4ComConnectSlave(). |
|
If this is true, master will launch a slave server itself before trying to connect to it (master as client). Future feature maybe. Definition at line 95 of file TGo4ComConnectSlave.h. Referenced by ExeCom(), SetStartServer(), and TGo4ComConnectSlave(). |
|
specify login mode.
Definition at line 98 of file TGo4ComConnectSlave.h. |
|
login password, must match to login mode.
Definition at line 101 of file TGo4ComConnectSlave.h. Referenced by ExeCom(), and SetPassword(). |