Go to the documentation of this file.
19 #ifndef __XRD_CL_OUT_QUEUE_HH__
20 #define __XRD_CL_OUT_QUEUE_HH__
29 class OutgoingMsgHandler;
153 #endif // __XRD_CL_OUT_QUEUE_HH__
void PushBack(Message *msg, OutgoingMsgHandler *handler, time_t expires, bool stateful)
Message status handler.
Definition: XrdClPostMasterInterfaces.hh:169
void Report(XRootDStatus status)
Report status to all the handlers.
MsgHelper(Message *m, OutgoingMsgHandler *h, time_t r, bool s)
Definition: XrdClOutQueue.hh:139
void PushFront(Message *msg, OutgoingMsgHandler *handler, time_t expires, bool stateful)
Definition: XrdClOutQueue.hh:138
std::list< MsgHelper > MessageList
Definition: XrdClOutQueue.hh:148
A synchronized queue for the outgoing data.
Definition: XrdClOutQueue.hh:35
void GrabItems(OutQueue &queue)
The message representation used throughout the system.
Definition: XrdClMessage.hh:30
uint64_t GetSize() const
Definition: XrdClOutQueue.hh:99
void GrabStateful(OutQueue &queue)
Request status.
Definition: XrdClXRootDResponses.hh:215
void GrabExpired(OutQueue &queue, time_t exp=0)
MessageList pMessages
Definition: XrdClOutQueue.hh:149
OutgoingMsgHandler * handler
Definition: XrdClOutQueue.hh:143
uint64_t GetSizeStateless() const
Return the size of the queue counting only the stateless messages.
Definition: XrdClAnyObject.hh:26
time_t expires
Definition: XrdClOutQueue.hh:144
void PopFront()
Remove a message from the front.
Message * msg
Definition: XrdClOutQueue.hh:142
Message * PopMessage(OutgoingMsgHandler *&handler, time_t &expires, bool &stateful)
bool IsEmpty() const
Check if the queue is empty.
Definition: XrdClOutQueue.hh:91
bool stateful
Definition: XrdClOutQueue.hh:145