A helper for handling channel event handlers. More...
#include <XrdClChannelHandlerList.hh>
Public Member Functions | |
void | AddHandler (ChannelEventHandler *handler) |
Add a channel event handler. | |
void | RemoveHandler (ChannelEventHandler *handler) |
Remove the channel event handler. | |
void | ReportEvent (ChannelEventHandler::ChannelEvent event, Status status, uint16_t stream) |
Report an event to the channel event handlers. | |
Private Attributes | |
std::list< ChannelEventHandler * > | pHandlers |
XrdSysMutex | pMutex |
A helper for handling channel event handlers.
void XrdCl::ChannelHandlerList::AddHandler | ( | ChannelEventHandler * | handler | ) |
Add a channel event handler.
void XrdCl::ChannelHandlerList::RemoveHandler | ( | ChannelEventHandler * | handler | ) |
Remove the channel event handler.
void XrdCl::ChannelHandlerList::ReportEvent | ( | ChannelEventHandler::ChannelEvent | event, | |
Status | status, | |||
uint16_t | stream | |||
) |
Report an event to the channel event handlers.
std::list<ChannelEventHandler*> XrdCl::ChannelHandlerList::pHandlers [private] |
XrdSysMutex XrdCl::ChannelHandlerList::pMutex [private] |