34 :
TXSocket(0,
'i',psid,capver,0,-1,handler)
42 Error(
"TXUnixSocket",
"severe error occurred while opening a connection"
68 Info(
"Reconnect",
"%p: %p: %d: trying to reconnect on %s",
this,
74 if (tryreconnect == 0)
75 Info(
"Reconnect",
"%p: reconnection attempts explicitly disabled!",
this);
77 Info(
"Reconnect",
"%p: server does not support reconnections (protocol: %d < 1005)",
96 Info(
"Reconnect",
"%p: %p: attempt %s",
this,
fConn,
R__EXTERN TSystem * gSystem
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
const char * Data() const
virtual int GetPid()
Get process id.
Handler of asynchronous events for XProofD sockets.
High level handler of connections to XProofD.
friend class TXUnixSocket
Implementation of TXSocket using PF_UNIX sockets.
Int_t Reconnect()
Try reconnection after failure.
static void GetRetryParam(int &maxtry, int &timewait)
Retrieve current values of the retry control parameters, numer of retries and wait time between attem...
bool IsValid() const
Test validity of this connection.
virtual void Close(const char *opt="")
Close connection.
virtual void Connect(int=-1)
Run the connection attempts: the result is stored in fConnected.
static void SetRetryParam(int maxtry=5, int timewait=2)
Change values of the retry control parameters, numer of retries and wait time between attempts (in se...