Exemplo n.º 1
0
        public FramedClient(IRawByteClient client)
        {
            this.client = client;
            this.recvBuffer = new ResizableCyclicBuffer(4096);

            this.client.Received += ClientReceivedData;
        }
Exemplo n.º 2
0
        public FramedClient(IRawByteClient client)
        {
            this.received = new Subject<ArraySegment<byte>>();
            this.client = client;
            this.recvBuffer = new ResizableCyclicBuffer(4096);

            this.client.Received.Subscribe(ClientReceivedData);
        }