@Beta public abstract class ConnectionListenerAdapter extends Object implements ConnectionListener
Constructor and Description |
---|
ConnectionListenerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
connectionClosed(ConnectionClosedEvent event)
Publish a connection message closed event.
|
void |
connectionOpened(ConnectionOpenedEvent event)
Publish a connection opened event.
|
void |
messageReceived(ConnectionMessageReceivedEvent event)
Publish a connection message received event.
|
void |
messagesSent(ConnectionMessagesSentEvent event)
Publish a connection messages sent event.
|
public void connectionOpened(ConnectionOpenedEvent event)
ConnectionListener
connectionOpened
in interface ConnectionListener
event
- the eventpublic void connectionClosed(ConnectionClosedEvent event)
ConnectionListener
connectionClosed
in interface ConnectionListener
event
- the eventpublic void messagesSent(ConnectionMessagesSentEvent event)
ConnectionListener
messagesSent
in interface ConnectionListener
event
- the eventpublic void messageReceived(ConnectionMessageReceivedEvent event)
ConnectionListener
messageReceived
in interface ConnectionListener
event
- the event