Package org.zeromq

Interface ZAgent.SelectorCreator

  • Enclosing interface:
    ZAgent

    @Deprecated
    public static interface ZAgent.SelectorCreator
    Deprecated.
    Creates a selector and destroys it.
    • Method Detail

      • create

        java.nio.channels.Selector create()
                                   throws java.io.IOException
        Deprecated.
        Creates and opens a selector.
        Returns:
        the opened selector.
        Throws:
        java.io.IOException
      • destroy

        void destroy​(java.nio.channels.Selector selector)
              throws java.io.IOException
        Deprecated.
        Destroys the previously opened selector.
        Parameters:
        selector - the selector to close
        Throws:
        java.io.IOException