Package | Description |
---|---|
javax.websocket |
Modifier and Type | Interface | Description |
---|---|---|
static interface |
MessageHandler.Partial<T> |
This kind of handler is notified by the implementation as it becomes ready
to deliver parts of a whole message.
|
static interface |
MessageHandler.Whole<T> |
This kind of handler is notified by the container on arrival of a complete message.
|
Modifier and Type | Method | Description |
---|---|---|
Set<MessageHandler> |
Session.getMessageHandlers() |
Return an unmodifiable copy of the set of MessageHandlers for this Session.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Session.addMessageHandler(MessageHandler handler) |
Register to handle to incoming messages in this conversation.
|
void |
Session.removeMessageHandler(MessageHandler handler) |
Remove the given MessageHandler from the set belonging to this session.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.