protected BaseClient(IPEndPoint localEndPoint, Pipeline pipeline) : base(localEndPoint, pipeline) { Session = Pipeline.CreateClientSession(this); Session.TriggerActive(); }
/// <summary> /// Creates a context object for a specific channel and its pipeline. /// </summary> /// <param name="channel"></param> /// <param name="session"></param> public ChannelHandlerContext(IChannel channel, PipelineSession session) { _channel = channel; _session = session; }