Example #1
0
 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);
 }
Example #2
0
 public DefaultServerUnsafe(AbstractChannel channel) : base(channel)
 {
 }
Example #3
0
 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)
 {
 }