public static class ZAgent.VerySimpleSelectorCreator extends Object implements ZAgent.SelectorCreator
Constructor and Description |
---|
VerySimpleSelectorCreator() |
Modifier and Type | Method and Description |
---|---|
Selector |
create()
Creates and opens a selector.
|
void |
destroy(Selector selector)
Destroys the previously opened selector.
|
public Selector create() throws IOException
ZAgent.SelectorCreator
create
in interface ZAgent.SelectorCreator
IOException
public void destroy(Selector selector) throws IOException
ZAgent.SelectorCreator
destroy
in interface ZAgent.SelectorCreator
selector
- the selector to closeIOException
Copyright © 2017. All Rights Reserved.