- <init>
Constructs a server that listens to the specified port(s) after method #start()
is called.
- start
Starts the server by starting all endpoints this server is assigned to. Each
endpoint binds to its p
- add
Add a resource to the server.
- addEndpoint
Adds an Endpoint to the server. WARNING: It automatically configures the default
executor of the ser
- stop
Stops the server, i.e., unbinds it from all ports. Frees as much system
resources as possible to sti
- getEndpoints
Gets the list of endpoints this server is connected to.
- setMessageDeliverer
Sets the message deliverer.
- getRoot
Gets the root of this server.
- destroy
Destroys the server, i.e., unbinds from all ports and frees all system
resources.
- getEndpoint
Returns the endpoint with a specific socket address.
- setExecutor