public interface WebApplicationServer
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(WebApplicationServerListener listener)
Adds a listener to various events
|
WebApplicationConfig |
getConfiguration()
Returns the configuration for this web application server.
|
int |
getPort()
Get the local port the server is listening on for client connections.
|
void |
removeListener(WebApplicationServerListener listener)
Removes a listener to various events
|
void |
start()
Starts the server
|
void |
stop()
Stops the server if the server fails to stop
|
void start()
throws Exception
Exception - if the server fails to startWebApplicationConfig getConfiguration()
void addListener(WebApplicationServerListener listener)
listener - the listener to addvoid removeListener(WebApplicationServerListener listener)
listener - the listener to addint getPort()
Copyright © 2020 Actian Corporation. All rights reserved.