private void OnNewConnection(object sender, SocketConnectionEventArgs e)
        {
            var tcpSocketClient = e.Socket as TcpSocketClient;
            if (tcpSocketClient == null)
                return;

            var connectionContext = connectionFactory.Create(tcpSocketClient);
            registrator.Add(tcpSocketClient.ConnectionId, connectionContext);
        }
        private void OnNewConnection(object sender, SocketConnectionEventArgs e)
        {
            var tcpSocketClient = e.Socket as TcpSocketClient;
            if (tcpSocketClient == null)
                return;

            Console.WriteLine("New connection, RemoteEp : "+tcpSocketClient.RemoteEndPoint+" , LocalEp : "+tcpSocketClient.LocalEndPoint+" , Agent Type : "+type);

            if (!meetingBridge.Add(type, new TcpMeetingBridgeAgent(tcpSocketClient)))
                tcpSocketClient.Disconnect(false);
        }