Package zmq.poll

Class PollItem


  • public class PollItem
    extends java.lang.Object
    • Field Detail

      • channel

        private final java.nio.channels.SelectableChannel channel
      • zinterest

        private final int zinterest
      • interest

        private final int interest
      • ready

        private int ready
    • Constructor Detail

      • PollItem

        public PollItem​(SocketBase socket,
                        int ops)
      • PollItem

        public PollItem​(java.nio.channels.SelectableChannel channel,
                        int ops)
      • PollItem

        private PollItem​(SocketBase socket,
                         java.nio.channels.SelectableChannel channel,
                         int ops)
    • Method Detail

      • init

        private int init​(int ops)
      • isReadable

        public boolean isReadable()
      • isWritable

        public boolean isWritable()
      • isError

        public boolean isError()
      • getRawSocket

        public java.nio.channels.SelectableChannel getRawSocket()
      • getChannel

        public java.nio.channels.SelectableChannel getChannel()
      • interestOps

        public int interestOps()
      • zinterestOps

        public int zinterestOps()
      • hasEvent

        public boolean hasEvent​(int events)
      • interestOps

        public int interestOps​(int ops)
      • readyOps

        public int readyOps​(java.nio.channels.SelectionKey key,
                            int nevents)
      • readyOps

        public int readyOps()