#include <XrdSsiRespInfo.hh>
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.
Definition at line 86 of file XrdSsiRespInfo.hh.
◆ XrdSsiRespInfoMsg()
XrdSsiRespInfoMsg::XrdSsiRespInfoMsg |
( |
char * |
msgP, |
|
|
int |
mlen |
|
) |
| |
|
inline |
Contructor
- Parameters
-
msgP | Pointer to the message buffer. |
mlen | length of the message. |
Definition at line 117 of file XrdSsiRespInfo.hh.
◆ ~XrdSsiRespInfoMsg()
virtual XrdSsiRespInfoMsg::~XrdSsiRespInfoMsg |
( |
| ) |
|
|
inlineprotectedvirtual |
Destructor. This object may not be deleted. Use Recycle() instead.
Definition at line 126 of file XrdSsiRespInfo.hh.
◆ GetMsg()
char* XrdSsiRespInfoMsg::GetMsg |
( |
int & |
mlen | ) |
|
|
inline |
Obtain the message associated with the message object.
- Parameters
-
mlen | holds the length of the message after the call. |
- Returns
- =0 No message available, dlen has been set to zero.
-
!0 Pointer to the buffer holding the message, dlen has the length
Definition at line 99 of file XrdSsiRespInfo.hh.
References msgBuf, and msgLen.
Referenced by XrdSsiFileReq::Alert(), and XrdSsiAlert::SetInfo().
◆ RecycleMsg()
virtual void XrdSsiRespInfoMsg::RecycleMsg |
( |
bool |
sent = true | ) |
|
|
pure virtual |
◆ msgBuf
char* XrdSsiRespInfoMsg::msgBuf |
|
protected |
◆ msgLen
int XrdSsiRespInfoMsg::msgLen |
|
protected |
The documentation for this class was generated from the following file: