Constructor and Description |
---|
ServerBase(Collection<InetSocketAddress> addresses,
ProtocolConfigurationFactory protocolConfigurationFactory) |
Modifier and Type | Method and Description |
---|---|
abstract ServerConnection |
createNewConnection(IoSession session) |
void |
dispose() |
Set<InetSocketAddress> |
start() |
void |
stop() |
public ServerBase(Collection<InetSocketAddress> addresses, ProtocolConfigurationFactory protocolConfigurationFactory) throws Exception
Exception
public Set<InetSocketAddress> start() throws IOException
IOException
public void stop()
public void dispose()
public abstract ServerConnection createNewConnection(IoSession session)