org.apache.wicket.protocol.ws.api
Class AbstractWebSocketConnection
java.lang.Object
org.apache.wicket.protocol.ws.api.AbstractWebSocketConnection
- All Implemented Interfaces:
- IWebSocketConnection
public abstract class AbstractWebSocketConnection
- extends Object
- implements IWebSocketConnection
Abstract class handling the Web Socket broadcast messages.
|
Method Summary |
void |
sendMessage(IWebSocketPushMessage message)
Broadcasts a push message to the wicket page (and it's components) associated with this
connection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractWebSocketConnection
public AbstractWebSocketConnection(AbstractWebSocketProcessor webSocketProcessor)
- Constructor.
- Parameters:
webSocketProcessor - the web socket processor to delegate to
sendMessage
public void sendMessage(IWebSocketPushMessage message)
- Description copied from interface:
IWebSocketConnection
- Broadcasts a push message to the wicket page (and it's components) associated with this
connection. The components can then send messages or component updates to client by adding
them to the target.
- Specified by:
sendMessage in interface IWebSocketConnection
- Parameters:
message - the push message to send
Copyright © 2006–2013 Apache Software Foundation. All rights reserved.