addChannelHandler method

void addChannelHandler(
  1. String identifier,
  2. ChannelEventHandler handler
)

Implementation

void addChannelHandler(String identifier, ChannelEventHandler handler) {
  _channelHandlers[identifier] = handler;
}