Uses of Interface
javax.websocket.MessageHandler
Packages that use MessageHandler
-
Uses of MessageHandler in javax.websocket
Subinterfaces of MessageHandler in javax.websocketModifier and TypeInterfaceDescriptionstatic interfaceThis kind of handler is notified by the implementation as it becomes ready to deliver parts of a whole message.static interfaceThis kind of handler is notified by the container on arrival of a complete message.Methods in javax.websocket that return types with arguments of type MessageHandlerModifier and TypeMethodDescriptionSession.getMessageHandlers()Return an unmodifiable copy of the set of MessageHandlers for this Session.Methods in javax.websocket with parameters of type MessageHandlerModifier and TypeMethodDescriptionvoidSession.addMessageHandler(MessageHandler handler) Register to handle to incoming messages in this conversation.voidSession.removeMessageHandler(MessageHandler handler) Remove the given MessageHandler from the set belonging to this session.