Class Pipe.SourceChannel

    • Constructor Detail

      • SourceChannel

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

      • validOps

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