Inheritance: AbstractChannel, ISocketChannel
Exemple #1
0
        public SocketChannelAsyncOperation(AbstractSocketChannel channel, bool setEmptyBuffer)
        {
            Contract.Requires(channel != null);

            this.Channel    = channel;
            this.Completed += AbstractSocketChannel.IoCompletedCallback;
            if (setEmptyBuffer)
            {
                this.SetBuffer(ByteArrayExtensions.Empty, 0, 0);
            }
        }
        public SocketChannelAsyncOperation(AbstractSocketChannel channel, bool setEmptyBuffer)
        {
            Contract.Requires(channel != null);

            this.Channel = channel;
            this.Completed += AbstractSocketChannel.IoCompletedCallback;
            if (setEmptyBuffer)
            {
                this.SetBuffer(ByteArrayExtensions.Empty, 0, 0);
            }
        }
 protected AbstractSocketUnsafe(AbstractSocketChannel channel)
     : base(channel)
 {
 }
Exemple #4
0
 public SocketChannelAsyncOperation(AbstractSocketChannel channel)
     : this(channel, true)
 {
 }
Exemple #5
0
 protected AbstractSocketUnsafe(AbstractSocketChannel channel)
     : base(channel)
 {
 }
 public SocketChannelAsyncOperation(AbstractSocketChannel channel)
     : this(channel, true)
 {
 }