12 #ifndef ROOT_XrdProofPhyConn
13 #define ROOT_XrdProofPhyConn
26 #ifndef ROOT_XrdProofConn
42 bool Init(
const char *url,
int fd = -1);
46 XrdClientAbsUnsolMsgHandler *uh = 0,
bool tcp = 0,
int fd = -1);
49 void Close(
const char *opt =
"");
int WriteRaw(const void *buf, int len, XrdClientPhyConnection *=0)
Low level write call.
void Close(const char *opt="")
Close the connection.
void SetAsync(XrdClientAbsUnsolMsgHandler *uh, XrdProofConnSender_t=0, void *=0)
Set handler of unsolicited responses.
Implementation of TXSocket using PF_UNIX sockets.
bool Init(const char *url, int fd=-1)
Initialization.
bool GetAccessToSrv(XrdClientPhyConnection *=0)
Gets access to the connected server.
virtual ~XrdProofPhyConn()
int(* XrdProofConnSender_t)(const char *, int, void *)
High level handler of connections to XProofD.
XrdClientMessage * ReadMsg()
Pickup message from the queue.
void Connect(int fd=-1)
Run the connection attempts: the result is stored in fConnected.
int TryConnect(int fd=-1)
Connect to remote server.
int ReadRaw(void *buf, int len, XrdClientPhyConnection *=0)
Low level write call.
XrdProofPhyConn(const char *url, int psid=-1, char ver=-1, XrdClientAbsUnsolMsgHandler *uh=0, bool tcp=0, int fd=-1)
Constructor.