Beispiel #1
0
        public void Start()
        {
            var transports = new List <IClientTransport>();

            _tcp = new TcpClient();
            transports.Add(_tcp);
            InitTransports(transports);
            RegisterTCPCommands(_tcp);
            _tcp.OnReceive += TcpOnReceive;
        }
 public ClientConnection(ClientTransportBase <TTransportDestType> transport, ProtocolBase <TTransportDestType> protocol) : base(transport)
 {
     _transport = transport;
     _protocol  = protocol;
 }