Class ServerListener
java.lang.Object
ch.nolix.base.programcontrol.worker.AbstractWorker
ch.nolix.base.net.level1server.ServerListener
- All Implemented Interfaces:
CloseStateRequestable
- Author:
- Silvan Wyss
-
Method Details
-
forServer
- Parameters:
server-- Returns:
- a new
ServerListenerfor the given server. TheServerListenerwill start automatically. - Throws:
RuntimeException- if the given server is null.
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceCloseStateRequestable- Returns:
- true if the current
CloseStateRequestableis closed, false otherwise.
-