org.xsocket.stream.io.spi
Interface IServerIoProvider

Package class diagram package 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


Field Summary
static java.lang.String PROVIDER_CLASSNAME_KEY
           
 
Fields inherited from interface org.xsocket.stream.io.spi.IHandlerIoProvider
UNLIMITED
 
Method Summary
 IAcceptor createAcceptor(IAcceptorCallback callback, IIoHandlerContext handlerContext, java.net.InetSocketAddress address, int backlog, java.util.Map<java.lang.String,java.lang.Object> options)
          create acceptor
 
Methods inherited from interface org.xsocket.stream.io.spi.IHandlerIoProvider
setWriteTransferRate
 

Field Detail

PROVIDER_CLASSNAME_KEY

static final java.lang.String PROVIDER_CLASSNAME_KEY
See Also:
Constant Field Values
Method Detail

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 callback
handlerContext - the handler context
address - the listen address
backlog - the backlog
options - the acceptor socket options
Returns:
the acceptor
Throws:
java.io.IOException - If some other I/O error occurs