org.xsocket.stream.io.spi
Interface IServerIoProvider
- All Superinterfaces:
- IHandlerIoProvider
- All Known Implementing Classes:
- IoProvider
public interface IServerIoProvider
- extends IHandlerIoProvider
Server IO Provider specification
This class is experimental and is subject to change
PROVIDER_CLASSNAME_KEY
static final java.lang.String PROVIDER_CLASSNAME_KEY
- See Also:
- Constant Field Values
createAcceptor
IAcceptor createAcceptor(IAcceptorCallback callback,
IIoHandlerContext handlerContext,
java.net.InetSocketAddress address,
int backlog,
java.util.Map<java.lang.String,java.lang.Object> options)
throws java.io.IOException
- create acceptor
- Parameters:
callback
- the acceptor callbackhandlerContext
- the handler contextaddress
- the listen addressbacklog
- the backlogoptions
- the acceptor socket options
- Returns:
- the acceptor
- Throws:
java.io.IOException
- If some other I/O error occurs