addConnectionHandler method

void addConnectionHandler(
  1. String identifier,
  2. ConnectionEventHandler handler
)

Implementation

void addConnectionHandler(String identifier, ConnectionEventHandler handler) {
  _connectionHandlers[identifier] = handler;
}