| 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 | Method and Description | 
|---|---|
| <T> void | Session. addMessageHandler(Class<T> clazz,
                 MessageHandler.Whole<T> handler)Register to handle to incoming messages in this conversation. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> void | TyrusSession. addMessageHandler(Class<T> clazz,
                 MessageHandler.Whole<T> handler)Register to handle to incoming messages in this conversation. | 
| <T> void | MessageHandlerManager. addMessageHandler(Class<T> clazz,
                 MessageHandler.Whole<T> handler)Add  MessageHandler.Wholeto the manager. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> void | RemoteSession. addMessageHandler(Class<T> clazz,
                 MessageHandler.Whole<T> handler)This method is not supported on  RemoteSession. | 
Copyright © 2012–2019 Oracle Corporation. All rights reserved.