public abstract class WebServer
extends java.lang.Object
Constructor and Description |
---|
WebServer(java.net.InetSocketAddress address) |
Modifier and Type | Method and Description |
---|---|
abstract SelectionHandler |
getAcceptHandler() |
boolean |
isRunning() |
void |
onTimeOut(java.nio.channels.SelectionKey selectionKey) |
void |
startServer() |
void |
stopServer() |
public abstract SelectionHandler getAcceptHandler()
SelectionKey.OP_ACCEPT
.public void startServer()
public void stopServer()
public void onTimeOut(java.nio.channels.SelectionKey selectionKey)
public boolean isRunning()