@Deprecated public final class ServerEventMulticaster extends Object implements ServerListener
Constructor and Description |
---|
ServerEventMulticaster(List<ServerListener> serverListeners)
Deprecated.
Construct an instance with the given list of server listeners
|
Modifier and Type | Method and Description |
---|---|
List<ServerListener> |
getServerListeners()
Deprecated.
Gets the server listeners.
|
void |
serverClosed(ServerClosedEvent event)
Deprecated.
Listener for server closed events.
|
void |
serverDescriptionChanged(ServerDescriptionChangedEvent event)
Deprecated.
Listener for server description changed events.
|
void |
serverOpening(ServerOpeningEvent event)
Deprecated.
Listener for server opening events.
|
public ServerEventMulticaster(List<ServerListener> serverListeners)
serverListeners
- the non-null list of server listeners, none of which may be nullpublic List<ServerListener> getServerListeners()
public void serverOpening(ServerOpeningEvent event)
ServerListener
serverOpening
in interface ServerListener
event
- the server opening eventpublic void serverClosed(ServerClosedEvent event)
ServerListener
serverClosed
in interface ServerListener
event
- the server closed eventpublic void serverDescriptionChanged(ServerDescriptionChangedEvent event)
ServerListener
serverDescriptionChanged
in interface ServerListener
event
- the server description changed event