@Deprecated public final class ServerEventMulticaster extends java.lang.Object implements ServerListener
Constructor and Description |
---|
ServerEventMulticaster(java.util.List<ServerListener> serverListeners)
Deprecated.
Construct an instance with the given list of server listeners
|
Modifier and Type | Method and Description |
---|---|
java.util.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(java.util.List<ServerListener> serverListeners)
serverListeners
- the non-null list of server listeners, none of which may be nullpublic java.util.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