Class Pipe.SinkChannel

    • Constructor Detail

      • SinkChannel

        protected SinkChannel​(SelectorProvider provider)
        Constructs a new SinkChannel.
        Parameters:
        provider - the provider of the channel.
    • Method Detail

      • validOps

        public final int validOps()
        Indicates that this channel only supports writing.
        Specified by:
        validOps in class SelectableChannel
        Returns:
        a static value of OP_WRITE.