public void Connected(IReceiveContext context) { _channelLock.EnterWriteLock(); _channels.AddLast(context.GetChannel()); _channelLock.ExitWriteLock(); }