Go4CommandsTaskHandler
Class TGo4ComConnectSlave
- class TGo4ComConnectSlave
- derived from TGo4TaskHandlerCommand
master command: initiate connection to slave. 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).
- Author:
- Joern Adamczewski
- Since: 17-03-2005
Field Summary |
private Bool_t | fbStartServer If this is true, master will launch a slave server itself before trying to connect to it (master as client).
|
private Go4CommandMode_t | fiLoginMode specify login mode |
private Int_t | fiMode slave start mode (master as server only) |
private UInt_t | fuPort Port for negotiation connection (master as client only) |
private TString | fxPasswd login password, must match to login mode |
private TString | fxSlaveDir working directory of the slave |
private TString | fxSlaveExecutable executable to start on the slave side |
private TString | fxSlaveHost slave machine host name |
private TString | fxSlaveName name of the slave to be launched |
Fields inherited from class TNamed |
fName, fTitle |
Methods inherited from class Go4CommandsBase.TGo4Command |
GetCommandID, GetMode, GetModeDescription, GetProtection, GetReceiverName, GetTaskName, Help, IsEnabled, IsExclusive, IsLocal, IsSynchron, Log, SetDescription, SetMode, SetProtection, SetReceiver, SetReceiverName, SetTaskName, UnExeCom, What |
Methods inherited from class TNamed |
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine |
fbStartServer
private Bool_t fbStartServer
- If this is true, master will launch a slave server itself
before trying to connect to it (master as client).
Future feature maybe.
fiLoginMode
private Go4CommandMode_t fiLoginMode
- specify login mode
fiMode
private Int_t fiMode
- slave start mode (master as server only)
fuPort
private UInt_t fuPort
- Port for negotiation connection (master as client only)
fxPasswd
private TString fxPasswd
- login password, must match to login mode
fxSlaveDir
private TString fxSlaveDir
- working directory of the slave
fxSlaveExecutable
private TString fxSlaveExecutable
- executable to start on the slave side
fxSlaveHost
private TString fxSlaveHost
- slave machine host name
fxSlaveName
private TString fxSlaveName
- name of the slave to be launched
TGo4ComConnectSlave
public TGo4ComConnectSlave()
~TGo4ComConnectSlave
public virtual synchronized ~TGo4ComConnectSlave()
ExeCom
public Int_t ExeCom()
SetLogin
public void SetLogin(Go4CommandMode_t mode)
SetPassword
public void SetPassword(const char * wd)
SetSlaveDir
public void SetSlaveDir(const char * name)
- Specify the name of the client directory
SetSlaveExecutable
public void SetSlaveExecutable(const char * name)
- Specify name of executable program on client side
SetSlaveHost
public void SetSlaveHost(const char * name)
- Specify the hostname of the client process
SetSlaveMode
public void SetSlaveMode(Int_t mode)
- Specify client mode (meaning defined by taskhandler user, i.e. analysisclient in go4)
SetSlaveName
public void SetSlaveName(const char * name)
- Specify the name of the client to be launched
SetSlavePort
public void SetSlavePort(UInt_t num)
SetStartServer
public void SetStartServer(Bool_t on)
to Class Go4CommandMode_t- specify login mode
30-06-2005