Exemplo n.º 1
0
        private ReceiveStream CreateStream(byte[] data)
        {
            var stream = new ReceiveStream(receiver);

            stream.Add(data);

            return(stream);
        }
        private ReceiveStream CreateStream(byte[] data)
        {
            var executorPacketReceiver = new ExecutorPacketReceiver(executor);
            var stream = new ReceiveStream(executorPacketReceiver);

            stream.Add(data);

            return(stream);
        }
Exemplo n.º 3
0
 internal void Receive(byte[] octets)
 {
     receiveStream.Add(octets);
 }