12 #ifndef ROOT_XrdProofPhyConn 
   13 #define ROOT_XrdProofPhyConn 
   28 class XrdProofPhyConn  : 
public XrdProofConn {
 
   30 friend class TXSocket;
 
   31 friend class TXUnixSocket;
 
   37    void        Connect(
int fd = -1);
 
   38    int         TryConnect(
int fd = -1);
 
   39    bool        GetAccessToSrv(XrdClientPhyConnection * = 0);
 
   40    bool        Init(
const char *url, 
int fd = -1);
 
   43    XrdProofPhyConn(
const char *url, 
int psid = -1, 
char ver = -1,
 
   44                    XrdClientAbsUnsolMsgHandler *uh = 0, 
bool tcp = 0, 
int fd = -1);
 
   45    virtual ~XrdProofPhyConn() { Close(); }
 
   47    void        Close(
const char *opt = 
"");
 
   50    int         ReadRaw(
void *buf, 
int len, XrdClientPhyConnection * = 0);
 
   51    XrdClientMessage *ReadMsg();
 
   52    void        SetAsync(XrdClientAbsUnsolMsgHandler *uh, XrdProofConnSender_t = 0, 
void * = 0);
 
   53    int         WriteRaw(
const void *buf, 
int len, XrdClientPhyConnection * = 0);