| Package | Description |
|---|---|
| javax.websocket |
This package contains all the WebSocket APIs common to both the client
and server side.
|
| org.glassfish.tyrus.core |
Core classes.
|
| org.glassfish.tyrus.core.cluster |
Cluster relates classes and interfaces.
|
| Modifier and Type | Interface and 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 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 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.
|
| Modifier and Type | Method and Description |
|---|---|
Set<MessageHandler> |
TyrusSession.getMessageHandlers() |
| Modifier and Type | Method and Description |
|---|---|
void |
TyrusSession.addMessageHandler(MessageHandler handler)
|
void |
TyrusSession.removeMessageHandler(MessageHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
Set<MessageHandler> |
RemoteSession.getMessageHandlers()
This method is not supported on
RemoteSession. |
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteSession.addMessageHandler(MessageHandler handler)
This method is not supported on
RemoteSession. |
void |
RemoteSession.removeMessageHandler(MessageHandler handler)
This method is not supported on
RemoteSession. |
Copyright © 2012-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.