private SetClientPipeline ( IChannel channel, Akka.Actor.Address remoteAddress ) : void | ||
channel | IChannel | |
remoteAddress | Akka.Actor.Address | |
return | void |
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);
}
}