XrdCl::ChannelHandlerList Class Reference

A helper for handling channel event handlers. More...

#include <XrdClChannelHandlerList.hh>

Collaboration diagram for XrdCl::ChannelHandlerList:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

A helper for handling channel event handlers.


Member Function Documentation

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.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 13 May 2020 for xrootd by  doxygen 1.6.1