Package org.zeromq
Interface ZAgent.SelectorCreator
-
- Enclosing interface:
- ZAgent
@Deprecated public static interface ZAgent.SelectorCreator
Deprecated.Creates a selector and destroys it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.nio.channels.Selector
create()
Deprecated.Creates and opens a selector.void
destroy(java.nio.channels.Selector selector)
Deprecated.Destroys the previously opened selector.
-
-
-
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
-
-