|
XRootD
|
The message representation used throughout the system. More...
#include <XrdClMessage.hh>
Inheritance diagram for XrdCl::Message:
Collaboration diagram for XrdCl::Message:Public Member Functions | |
| Message (Message &&msg) | |
| Move Constructor. | |
| Message (uint32_t size=0) | |
| Constructor. | |
| virtual | ~Message () |
| Destructor. | |
| const std::string & | GetDescription () const |
| Get the description of the message. | |
| const std::string & | GetObfuscatedDescription () const |
| Get the description of the message with authz parameter obfuscated. | |
| uint64_t | GetSessionId () const |
| Get the session ID the message is meant for. | |
| uint16_t | GetVirtReqID () const |
| Get virtual request ID for the message. | |
| bool | IsMarshalled () const |
| Check if the message is marshalled. | |
| Message & | operator= (Message &&msg) |
| Move assignment operator. | |
| void | SetDescription (const std::string &description) |
| Set the description of the message. | |
| void | SetIsMarshalled (bool isMarshalled) |
| Set the marshalling status. | |
| void | SetSessionId (uint64_t sessionId) |
| Set the session ID which this message is meant for. | |
| void | SetVirtReqID (uint16_t virtReqID) |
| Set virtual request ID for the message. | |
Public Member Functions inherited from XrdCl::Buffer | |
| Buffer (Buffer &&buffer) | |
| Move Constructor. | |
| Buffer (uint32_t size=0) | |
| Constructor. | |
| virtual | ~Buffer () |
| Destructor. | |
| void | AdvanceCursor (uint32_t delta) |
| Advance the cursor. | |
| void | Allocate (uint32_t size) |
| Allocate the buffer. | |
| void | Append (const char *buffer, uint32_t size) |
| Append data at the position pointed to by the append cursor. | |
| void | Append (const char *buffer, uint32_t size, uint32_t offset) |
| Append data at the given offset. | |
| void | Free () |
| Free the buffer. | |
| void | FromString (const std::string str) |
| Fill the buffer from a string. | |
| char * | GetBuffer (uint32_t offset=0) |
| Get the message buffer. | |
| const char * | GetBuffer (uint32_t offset=0) const |
| Get the message buffer. | |
| char * | GetBufferAtCursor () |
| Get the buffer pointer at the append cursor. | |
| const char * | GetBufferAtCursor () const |
| Get the buffer pointer at the append cursor. | |
| uint32_t | GetCursor () const |
| Get append cursor. | |
| uint32_t | GetSize () const |
| Get the size of the message. | |
| void | Grab (char *buffer, uint32_t size) |
| Grab a buffer allocated outside. | |
| Buffer & | operator= (Buffer &&buffer) |
| Move assignment operator. | |
| void | ReAllocate (uint32_t size) |
| Reallocate the buffer to a new location of a given size. | |
| char * | Release () |
| Release the buffer. | |
| void | SetCursor (uint32_t cursor) |
| Set the cursor. | |
| std::string | ToString () const |
| Convert the buffer to a string. | |
| void | Zero () |
| Zero. | |
Additional Inherited Members | |
Protected Member Functions inherited from XrdCl::Buffer | |
| void | Steal (Buffer &&buffer) |
The message representation used throughout the system.
Definition at line 31 of file XrdClMessage.hh.
|
inline |
Constructor.
Definition at line 37 of file XrdClMessage.hh.
References XrdCl::Buffer::Buffer(), and XrdCl::Buffer::Zero().
Referenced by Message(), and operator=().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Move Constructor.
Definition at line 47 of file XrdClMessage.hh.
References XrdCl::Buffer::Buffer(), and Message().
Here is the call graph for this function:
|
inlinevirtual |
|
inline |
Get the description of the message.
Definition at line 98 of file XrdClMessage.hh.
|
inline |
Get the description of the message with authz parameter obfuscated.
Definition at line 106 of file XrdClMessage.hh.
Referenced by XrdCl::Stream::OnReadyToWrite(), XrdCl::FileStateHandler::OnStateError(), XrdCl::FileStateHandler::OnStateResponse(), XrdCl::XRootDMsgHandler::OnStatusReady(), XrdCl::MessageUtils::RedirectMessage(), XrdCl::FileSystemData::Send(), XrdCl::Socket::Send(), XrdCl::Stream::Send(), and XrdCl::MessageUtils::SendMessage().
Here is the caller graph for this function:
|
inline |
Get the session ID the message is meant for.
Definition at line 122 of file XrdClMessage.hh.
Referenced by XrdCl::XRootDMsgHandler::XRootDMsgHandler(), and XrdCl::Stream::Send().
Here is the caller graph for this function:
|
inline |
Get virtual request ID for the message.
Definition at line 138 of file XrdClMessage.hh.
Referenced by XrdCl::LocalFileHandler::ExecRequest().
Here is the caller graph for this function:
|
inline |
Check if the message is marshalled.
Definition at line 73 of file XrdClMessage.hh.
Referenced by XrdCl::XRootDTransport::UnMarshallRequest().
Here is the caller graph for this function:Move assignment operator.
Definition at line 56 of file XrdClMessage.hh.
References Message(), and XrdCl::Buffer::Steal().
Here is the call graph for this function:
|
inline |
Set the description of the message.
Definition at line 89 of file XrdClMessage.hh.
References obfuscateAuth().
Referenced by XrdCl::XRootDTransport::SetDescription().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Set the marshalling status.
Definition at line 81 of file XrdClMessage.hh.
Referenced by XrdCl::XRootDTransport::MarshallRequest(), and XrdCl::XRootDTransport::UnMarshallRequest().
Here is the caller graph for this function:
|
inline |
Set the session ID which this message is meant for.
Definition at line 114 of file XrdClMessage.hh.
Referenced by XrdCl::FileStateHandler::Close().
Here is the caller graph for this function:
|
inline |
Set virtual request ID for the message.
Definition at line 130 of file XrdClMessage.hh.
Referenced by XrdCl::FileStateHandler::ReadV().
Here is the caller graph for this function: