コード例 #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);
 }
コード例 #2
0
 public DefaultServerUnsafe(AbstractChannel channel) : base(channel)
 {
 }
コード例 #3
0
ファイル: AbstractChannel.cs プロジェクト: helios-io/helios
 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);
 }
コード例 #4
0
 public DefaultServerUnsafe(AbstractChannel channel) : base(channel)
 {
 }