xrootd
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
XrdCl::ChannelHandlerList Class Reference

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

#include <XrdClChannelHandlerList.hh>

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

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)
 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

◆ AddHandler()

void XrdCl::ChannelHandlerList::AddHandler ( ChannelEventHandler handler)

Add a channel event handler.

◆ RemoveHandler()

void XrdCl::ChannelHandlerList::RemoveHandler ( ChannelEventHandler handler)

Remove the channel event handler.

◆ ReportEvent()

void XrdCl::ChannelHandlerList::ReportEvent ( ChannelEventHandler::ChannelEvent  event,
Status  status 
)

Report an event to the channel event handlers.

Member Data Documentation

◆ pHandlers

std::list<ChannelEventHandler*> XrdCl::ChannelHandlerList::pHandlers
private

◆ pMutex

XrdSysMutex XrdCl::ChannelHandlerList::pMutex
private

The documentation for this class was generated from the following file: