public DefaultSessionContext(string name, ISessionPipeline pipeline, ISessionHandler handler) : base(pipeline) { this.Name = name; this.Handler = handler; if (Handler != null) { this.IsInbound = Handler is ISessionInboundHandler; this.IsOutbound = Handler is ISessionOutboundHandler; } }
internal AbstractSessionContext(ISessionPipeline pipeline) { this.Session = pipeline.Session; this.Pipeline = pipeline; }
public TcpSession() { Pipeline = new DefaultSessionPipeline(this); }