| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
PROP_ALLOWED_HOSTS |
| Constructor and Description |
|---|
SocketController(RouterContext ctx,
ClientAppManager mgr,
String[] args)
RouterApp (new way)
|
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
buildServer()
Builds a new server.
|
String |
getDisplayName()
The display name of the ClientApp, used in user interfaces.
|
String |
getName()
The generic name of the ClientApp, used for registration,
e.g.
|
ClientAppState |
getState()
The current state of the ClientApp.
|
void |
shutdown(String[] args)
Do not take a long time.
|
void |
startup()
Do not take a long time.
|
static final String PROP_ALLOWED_HOSTS
public SocketController(RouterContext ctx, ClientAppManager mgr, String[] args) throws IOException
IOExceptionpublic ServerSocket buildServer() throws IOException
IOExceptionpublic String getDisplayName()
ClientAppgetDisplayName in interface ClientApppublic String getName()
ClientApppublic ClientAppState getState()
ClientApppublic void shutdown(String[] args)
ClientApppublic void startup()
ClientApp