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