Uses of Interface
javax.websocket.MessageHandler

Uses of MessageHandler in javax.websocket
 

Subinterfaces of MessageHandler in javax.websocket
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.
 

Methods in javax.websocket that return types with arguments of type MessageHandler
 Set<MessageHandler> Session.getMessageHandlers()
          Return an unmodifiable copy of the set of MessageHandlers for this Session.
 

Methods in javax.websocket with parameters of type MessageHandler
 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 © 2012 Oracle and/or its affiliates. All rights reserved.