1 #ifndef XRD_CLOGCONNECTION_H
2 #define XRD_CLOGCONNECTION_H
39 #include "XProtocol/XPtypes.hh"
43 class XrdClientPhyConnection;
45 class XrdClientLogConnection:
public XrdClientAbsUnsolMsgHandler,
46 public XrdClientUnsolMsgSender {
48 XrdClientPhyConnection *fPhyConnection;
53 XrdClientSid *fSidManager;
56 XrdClientLogConnection(XrdClientSid *sidmgr);
57 virtual ~XrdClientLogConnection();
59 inline XrdClientPhyConnection *GetPhyConnection() {
60 return fPhyConnection;
63 UnsolRespProcResult ProcessUnsolicitedMsg(XrdClientUnsolMsgSender *sender,
64 XrdClientMessage *unsolmsg);
66 int ReadRaw(
void *buffer,
int BufferLength);
68 inline void SetPhyConnection(XrdClientPhyConnection *PhyConn) {
69 fPhyConnection = PhyConn;
72 int WriteRaw(
const void *buffer,
int BufferLength,
int substreamid);
74 inline kXR_unt16 Streamid() {