12#ifndef ROOT_XrdProofdResponse
13#define ROOT_XrdProofdResponse
31#include "XrdOuc/XrdOucString.hh"
47 int LinkSend(
const char *buff,
int len, XrdOucString &
e);
48 int LinkSend(
const struct iovec *iov,
49 int iocnt,
int len, XrdOucString &
e);
52 int Send(
const char *msg);
54 int Send(XResponseType rcode);
55 int Send(XResponseType rcode,
void *
data,
int dlen);
56 int Send(XErrorCode ecode,
const char *msg);
58 int Send(XResponseType rcode,
int info,
char *
data = 0);
60 int Send(XResponseType rcode,
63 kXR_int32 sid,
void *
data,
int dlen);
65 int SendI(kXR_int32 int1,
void *
data = 0,
int dlen = 0);
66 int SendI(kXR_int32 int1, kXR_int32 int2,
void *
data = 0,
int dlen = 0);
67 int SendI(kXR_int32 int1, kXR_int16 int2, kXR_int16 int3,
68 void *
data = 0,
int dlen = 0);
73 void Set(
unsigned char *stream);
74 void Set(
unsigned short streamid);
75 void Set(ServerResponseHeader *resp);
77 void GetSID(
unsigned short &sid);
83 fResp.streamid[0] = 0;
fResp.streamid[1] = 0; }
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
#define XrdSysMutexHelper
void Set(XrdLink *l)
Set the link to be used by this response.
void GetSID(unsigned short &sid)
Get stream ID (to be able to restore it later.
void SetTag(const char *tag)
int Send(void)
Auxilliary Send method.
int LinkSend(const char *buff, int len, XrdOucString &e)
Method actually sending the buffer(s) over the link.
virtual ~XrdProofdResponse()
const char * TraceID() const
int SendI(kXR_int32 int1, void *data=0, int dlen=0)
Auxilliary Send method.
ServerResponseHeader fResp
void SetTrsid()
Auxilliary Set method.
void SetTraceID()
Auxilliary set method.