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