Class WebSocketMessageProcessedEvent<T>

  • Type Parameters:
    T - The message type
    All Implemented Interfaces:
    java.io.Serializable

    public class WebSocketMessageProcessedEvent<T>
    extends WebSocketEvent
    An event fired after a WebSocket message has been processed.
    Since:
    1.0
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getMessage()  
      • Methods inherited from class java.util.EventObject

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • WebSocketMessageProcessedEvent

        public WebSocketMessageProcessedEvent​(WebSocketSession session,
                                              T message)
        Default constructor.
        Parameters:
        session - The web socket session
        message - The message that was processed
    • Method Detail

      • getMessage

        public T getMessage()
        Returns:
        The message that was processed