The message representation used throughout the system. More...
#include <XrdClMessage.hh>
Public Member Functions | |
Message (uint32_t size=0) | |
Constructor. | |
virtual | ~Message () |
Destructor. | |
bool | IsMarshalled () const |
Check if the message is marshalled. | |
void | SetIsMarshalled (bool isMarshalled) |
Set the marshalling status. | |
void | SetDescription (const std::string &description) |
Set the description of the message. | |
const std::string & | GetDescription () const |
Get the description of the message. | |
void | SetSessionId (uint64_t sessionId) |
Set the session ID which this message is meant for. | |
uint64_t | GetSessionId () const |
Get the session ID the message is meant for. | |
Private Attributes | |
bool | pIsMarshalled |
uint64_t | pSessionId |
std::string | pDescription |
The message representation used throughout the system.
XrdCl::Message::Message | ( | uint32_t | size = 0 |
) | [inline] |
Constructor.
References XrdCl::Buffer::Zero().
virtual XrdCl::Message::~Message | ( | ) | [inline, virtual] |
Destructor.
const std::string& XrdCl::Message::GetDescription | ( | ) | const [inline] |
Get the description of the message.
References pDescription.
Referenced by XrdCl::XRootDMsgHandler::XRootDMsgHandler().
uint64_t XrdCl::Message::GetSessionId | ( | ) | const [inline] |
Get the session ID the message is meant for.
References pSessionId.
Referenced by XrdCl::XRootDMsgHandler::XRootDMsgHandler().
bool XrdCl::Message::IsMarshalled | ( | ) | const [inline] |
Check if the message is marshalled.
References pIsMarshalled.
void XrdCl::Message::SetDescription | ( | const std::string & | description | ) | [inline] |
Set the description of the message.
References pDescription.
void XrdCl::Message::SetIsMarshalled | ( | bool | isMarshalled | ) | [inline] |
Set the marshalling status.
References pIsMarshalled.
void XrdCl::Message::SetSessionId | ( | uint64_t | sessionId | ) | [inline] |
Set the session ID which this message is meant for.
References pSessionId.
std::string XrdCl::Message::pDescription [private] |
Referenced by GetDescription(), and SetDescription().
bool XrdCl::Message::pIsMarshalled [private] |
Referenced by IsMarshalled(), and SetIsMarshalled().
uint64_t XrdCl::Message::pSessionId [private] |
Referenced by GetSessionId(), and SetSessionId().