30 pHandlers.push_back( handler );
39 std::list<ChannelEventHandler*>::iterator it;
40 for( it = pHandlers.begin(); it != pHandlers.end(); ++it )
44 pHandlers.erase( it );
58 std::list<ChannelEventHandler*>::iterator it;
59 for( it = pHandlers.begin(); it != pHandlers.end(); )
61 bool st = (*it)->OnChannelEvent( event, status );
63 it = pHandlers.erase( it );
ChannelEvent
Events that may have occurred to the channel.
void RemoveHandler(ChannelEventHandler *handler)
Remove the channel event handler.
void AddHandler(ChannelEventHandler *handler)
Add a channel event handler.
void ReportEvent(ChannelEventHandler::ChannelEvent event, Status status)
Report an event to the channel event handlers.
Procedure execution status.