@Beta public interface ConnectionListener extends EventListener
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.
|
void connectionOpened(ConnectionOpenedEvent event)
event
- the eventvoid connectionClosed(ConnectionClosedEvent event)
event
- the eventvoid messagesSent(ConnectionMessagesSentEvent event)
event
- the eventvoid messageReceived(ConnectionMessageReceivedEvent event)
event
- the event