addClientConnection method

  1. @protected
Channel addClientConnection(
  1. T info
)

Implementation

@protected
Channel addClientConnection(T info) {
  final id = _findAvailableChannel();
  if (id == kAnyChannel) return id;
  _connections[id] = info;
  _connectController.add((id, info));
  _changeController.add(clientConnections);
  return id;
}