| v2.10-0 (21000JUN2005) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Client for the go4 object server delivering root objects.
| Field Summary | |
private Int_t | fiPortserversocket port number |
private TString | fxHostnamehostname of the server to connect to |
private TString | fxServerNamecontains api basename |
private TString | fxServerPasscontains api password |
private TGo4Socket* | fxTransporttransport socket for connection to server |
| Fields inherited from class TNamed |
fName, fTitle |
| Constructor Summary | |
TGo4ObjClient(const Text_t* clientname, const Text_t* base, const Text_t* passwd, const Text_t* host, Int_t port) | |
TGo4ObjClient() | |
| Destructor Summary | |
virtual synchronized | ~TGo4ObjClient() |
| Method Summary | |
private Int_t | ConnectServer() |
private Int_t | DisconnectServer() |
const const char * | GetBase() |
const const char * | GetHost() |
const const char * | GetPasswd() |
const Int_t | GetPort() |
private TBuffer* | ReceiveBuffer()Receive root buffer containing requested object |
protected TObject* | ReceiveObject()Receive root object streamed from server |
TGo4AnalysisObjectNames* | RequestNamesList(const Text_t* base, const Text_t* passwd, const Text_t* host, Int_t port)Get nameslist object from client. basename, password,host and portnumber may be specified at any time new if left out (default), the previously stored values are used |
TObject* | RequestObject(const Text_t* objectname, const Text_t* base, const Text_t* passwd, const Text_t* host, Int_t port)Get object by name from client. basename, password, host and portnumber may be specified at any time new if left out (default), the previously stored values are used |
protected void | SendCommand(const Text_t* com)Send (command) string to server. |
void | SetBase(const char * serverbase) |
void | SetHost(const char * serverhost) |
private void | SetParms(const Text_t* base, const Text_t* passwd, const Text_t* host, Int_t port)Set server parameters if necessary |
void | SetPasswd(const char * serverpasswd) |
void | SetPort(Int_t port) |
| 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 |
| Field Detail |
private Int_t fiPort
private TString fxHostname
private TString fxServerName
private TString fxServerPass
private TGo4Socket* fxTransport
| Constructor Detail |
public TGo4ObjClient(const Text_t* clientname, const Text_t* base, const Text_t* passwd, const Text_t* host, Int_t port)
public TGo4ObjClient()
| Method Detail |
public virtual synchronized ~TGo4ObjClient()
| Method Detail |
private Int_t ConnectServer()
private Int_t DisconnectServer()
public const const char * GetBase()
public const const char * GetHost()
public const const char * GetPasswd()
public const Int_t GetPort()
private TBuffer* ReceiveBuffer()
protected TObject* ReceiveObject()
public TGo4AnalysisObjectNames* RequestNamesList(const Text_t* base, const Text_t* passwd, const Text_t* host, Int_t port)
public TObject* RequestObject(const Text_t* objectname, const Text_t* base, const Text_t* passwd, const Text_t* host, Int_t port)
protected void SendCommand(const Text_t* com)
public void SetBase(const char * serverbase)
public void SetHost(const char * serverhost)
private void SetParms(const Text_t* base, const Text_t* passwd, const Text_t* host, Int_t port)
public void SetPasswd(const char * serverpasswd)
public void SetPort(Int_t port)
| Association Links |
| J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||