private void SetServerPipeline(IChannel channel)
{
SetInitialChannelPipeline(channel);
var pipeline = channel.Pipeline;
if (InternalTransport == TransportType.Tcp)
{
var handler = new TcpServerHandler(this, Logging.GetLogger(System, typeof(TcpServerHandler)),
AssociationListenerPromise.Task);
pipeline.AddLast("serverHandler", handler);
}
}