Inheritance: AbstractServerChannel
コード例 #1
0
ファイル: LocalChannel.cs プロジェクト: helios-io/helios
        public LocalChannel(LocalServerChannel parent, LocalChannel peer) : base(parent)
        {
            _peer = peer;
            _localAddress = parent.LocalAddress;
            _remoteAddress = peer.LocalAddress;

            Configuration = new DefaultChannelConfiguration(this);
            _shutdownHook = new ShutdownHook(this);
            _readTask = new ReadTask(this);
        }
コード例 #2
0
ファイル: LocalChannel.cs プロジェクト: zhangrl/helios
        public LocalChannel(LocalServerChannel parent, LocalChannel peer) : base(parent)
        {
            _peer          = peer;
            _localAddress  = parent.LocalAddress;
            _remoteAddress = peer.LocalAddress;

            Configuration = new DefaultChannelConfiguration(this);
            _shutdownHook = new ShutdownHook(this);
            _readTask     = new ReadTask(this);
        }
コード例 #3
0
 public ServerShutdownHook(LocalServerChannel channel)
 {
     _channel = channel;
 }
コード例 #4
0
 public ServerShutdownHook(LocalServerChannel channel)
 {
     _channel = channel;
 }