#include <XrdSsiRespInfo.hh>
Public Member Functions | |
char * | GetMsg (int &mlen) |
virtual void | RecycleMsg (bool sent=true)=0 |
XrdSsiRespInfoMsg (char *msgP, int mlen) | |
Protected Member Functions | |
virtual | ~XrdSsiRespInfoMsg () |
Destructor. This object may not be deleted. Use Recycle() instead. | |
Protected Attributes | |
char * | msgBuf |
int | msgLen |
The RespInfoMsg class describes an async response message sent to the XrdSsiRequest::Alert() method. It encapsulates the message sent and must recover any resources used by the message when RecycleMsg() is called.
XrdSsiRespInfoMsg::XrdSsiRespInfoMsg | ( | char * | msgP, | |
int | mlen | |||
) | [inline] |
Contructor
msgP | Pointer to the message buffer. | |
mlen | length of the message. |
virtual XrdSsiRespInfoMsg::~XrdSsiRespInfoMsg | ( | ) | [inline, protected, virtual] |
Destructor. This object may not be deleted. Use Recycle() instead.
char* XrdSsiRespInfoMsg::GetMsg | ( | int & | mlen | ) | [inline] |
virtual void XrdSsiRespInfoMsg::RecycleMsg | ( | bool | sent = true |
) | [pure virtual] |
Release resources used by the message. This method must be called after the message is processed by the XrdSsiRequest::Alert() method.
sent | When true, the message was sent. Otherwise, it was not sent. |
Referenced by XrdSsiRequest::Alert().
char* XrdSsiRespInfoMsg::msgBuf [protected] |
Referenced by GetMsg().
int XrdSsiRespInfoMsg::msgLen [protected] |
Referenced by GetMsg().