コード例 #1
0
        private void SetClientPipeline(IChannel channel, Address remoteAddress)
        {
            SetInitialChannelPipeline(channel);
            var pipeline = channel.Pipeline;

            if (InternalTransport == TransportType.Tcp)
            {
                var handler = new TcpClientHandler(this, Logging.GetLogger(System, typeof(TcpClientHandler)),
                                                   remoteAddress);
                pipeline.AddLast("clientHandler", handler);
            }
        }
コード例 #2
0
ファイル: HeliosTransport.cs プロジェクト: Micha-kun/akka.net
 private void SetClientPipeline(IChannel channel, Address remoteAddress)
 {
     SetInitialChannelPipeline(channel);
     var pipeline = channel.Pipeline;
     if (InternalTransport == TransportType.Tcp)
     {
         var handler = new TcpClientHandler(this, Logging.GetLogger(System, typeof(TcpClientHandler)),
             remoteAddress);
         pipeline.AddLast("clientHandler", handler);
     }
 }