| Package | Description |
|---|---|
| com.linecorp.armeria.server |
Server core.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ServerListenerAdapter
A skeletal
ServerListener implementation in order for a user to implement only the methods
what he or she really needs. |
| Modifier and Type | Method and Description |
|---|---|
ServerListener |
ServerListenerBuilder.build()
Returns a newly-created
ServerListener based on the Runnables added to this builder. |
| Modifier and Type | Method and Description |
|---|---|
void |
Server.addListener(ServerListener listener)
Adds the specified
ServerListener to this Server, so that it is notified when the state
of this Server changes. |
boolean |
Server.removeListener(ServerListener listener)
Removes the specified
ServerListener from this Server, so that it is not notified
anymore when the state of this Server changes. |
ServerBuilder |
ServerBuilder.serverListener(ServerListener serverListener)
Adds the specified
ServerListener. |
Copyright © 2020 LeanCloud. All rights reserved.