Package zmq.poll

Class Poller.Handle

  • Enclosing class:
    Poller

    public static final class Poller.Handle
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean cancelled  
      private java.nio.channels.SelectableChannel fd  
      private IPollEvents handler  
      private int ops  
    • Constructor Summary

      Constructors 
      Constructor Description
      Handle​(java.nio.channels.SelectableChannel fd, IPollEvents handler)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • fd

        private final java.nio.channels.SelectableChannel fd
      • ops

        private int ops
      • cancelled

        private boolean cancelled
    • Constructor Detail

      • Handle

        public Handle​(java.nio.channels.SelectableChannel fd,
                      IPollEvents handler)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object