예제 #1
0
 protected BaseClient(IPEndPoint localEndPoint, Pipeline pipeline)
     : base(localEndPoint, pipeline)
 {
     Session = Pipeline.CreateClientSession(this);
     Session.TriggerActive();
 }
예제 #2
0
 /// <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;
 }
예제 #3
0
 /// <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;
 }
예제 #4
0
 protected BaseClient(IPEndPoint localEndPoint, Pipeline pipeline)
     : base(localEndPoint, pipeline)
 {
     Session = Pipeline.CreateClientSession(this);
     Session.TriggerActive();
 }