org.apache.wicket.protocol.ws.api.event
Class WebSocketTextPayload

java.lang.Object
  extended by org.apache.wicket.protocol.ws.api.event.WebSocketPayload<TextMessage>
      extended by org.apache.wicket.protocol.ws.api.event.WebSocketTextPayload

public class WebSocketTextPayload
extends WebSocketPayload<TextMessage>

A event broadcasting payload for the case when a text message arrives in the WebSocket connection

Since:
6.0

Constructor Summary
WebSocketTextPayload(TextMessage data, WebSocketRequestHandler handler)
           
 
Method Summary
 TextMessage getMessage()
           
 
Methods inherited from class org.apache.wicket.protocol.ws.api.event.WebSocketPayload
getHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSocketTextPayload

public WebSocketTextPayload(TextMessage data,
                            WebSocketRequestHandler handler)
Method Detail

getMessage

public final TextMessage getMessage()
Specified by:
getMessage in class WebSocketPayload<TextMessage>


Copyright © 2006–2013 Apache Software Foundation. All rights reserved.