protected AbstractUnsafe(AbstractChannel channel) { this._channel = channel; InvokeWritabilityChanged = () => { if (channel.EventLoop.InEventLoop) { channel.Pipeline.FireChannelWritabilityChanged(); } else { channel.EventLoop.Execute(InvokeWritabilityChangedUnsafe, channel); } }; this.outboundBuffer = new ChannelOutboundBuffer(channel, InvokeWritabilityChanged); }
public DefaultServerUnsafe(AbstractChannel channel) : base(channel) { }
protected AbstractUnsafe(AbstractChannel channel) { this._channel = channel; InvokeWritabilityChanged = () => { if (channel.EventLoop.InEventLoop) { channel.Pipeline.FireChannelWritabilityChanged(); } else { channel.EventLoop.Execute(InvokeWritabilityChangedUnsafe, channel); } }; this.outboundBuffer = new ChannelOutboundBuffer(channel, InvokeWritabilityChanged); }
public DefaultServerUnsafe(AbstractChannel channel) : base(channel) { }