예제 #1
0
            private SimpleChannel CreateUpperLayer(TcpLayer tcpLayer)
            {
                var channel = new SimpleChannel();

                channel.LowerLayer    = tcpLayer;
                channel.RequestEnded += new EventHandler(RequestEnded);
                return(channel);
            }
예제 #2
0
 private SimpleChannel CreateUpperLayer(TcpLayer tcpLayer)
 {
     var channel = new SimpleChannel();
     channel.LowerLayer = tcpLayer;
     channel.RequestEnded += new EventHandler(RequestEnded);
     return channel;
 }
예제 #3
0
            public SimpleChannelStack(TcpLayer tcpLayer)
            {
                _tcpLayer = tcpLayer;

                SimpleChannel channel = new SimpleChannel();
                channel.LowerLayer = tcpLayer;
                tcpLayer.UpperLayer = channel;

                channel.RequestEnded += new EventHandler(channel_RequestEnded);
            }