| Package | Description |
|---|---|
| javax.websocket |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MessageHandler.Async<T>
This kind of listener listens is notified by the container as parts of a message arrive.
|
static interface |
MessageHandler.Basic<T>
This kind of handler is notified by the container on arrival of a complete message.
|
| Modifier and Type | Method and Description |
|---|---|
Set<MessageHandler> |
Session.getMessageHandlers()
Return an unmodifiable copy of the set of MessageHandlers for this Session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Session.addMessageHandler(MessageHandler listener)
Register to handle to incoming messages in this conversation.
|
void |
Session.removeMessageHandler(MessageHandler listener)
Remove the given MessageHandler from the set belonging to this session.
|
Copyright © 2013. All Rights Reserved.