12#ifndef ROOT_XrdProofPhyConn
13#define ROOT_XrdProofPhyConn
40 bool Init(
const char *url,
int fd = -1);
47 void Close(
const char *opt =
"");
int(* XrdProofConnSender_t)(const char *, int, void *)
High level handler of connections to XProofD.
Implementation of TXSocket using PF_UNIX sockets.
friend class XrdProofPhyConn
XrdClientMessage * ReadMsg()
Pickup message from the queue.
bool Init(const char *url, int fd=-1)
Initialization.
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.
void Close(const char *opt="")
Close the connection.
void SetAsync(XrdClientAbsUnsolMsgHandler *uh, XrdProofConnSender_t=0, void *=0)
Set handler of unsolicited responses.
int WriteRaw(const void *buf, int len, XrdClientPhyConnection *=0)
Low level write call.
bool GetAccessToSrv(XrdClientPhyConnection *=0)
Gets access to the connected server.
virtual ~XrdProofPhyConn()