| Package | Description |
|---|---|
| org.apache.wicket.protocol.ws.api | |
| org.apache.wicket.protocol.ws.api.event | |
| org.apache.wicket.protocol.ws.util.tester |
| Modifier and Type | Method and Description |
|---|---|
void |
WebSocketPushBroadcaster.broadcast(ConnectedMessage connection,
IWebSocketPushMessage message)
Processes the given message in the page and session identified by the given Web Socket connection.
|
void |
WebSocketPushBroadcaster.broadcastAll(Application application,
IWebSocketPushMessage message)
Processes the given message in all pages that have active Web Socket connections.
|
protected void |
WebSocketResource.onPush(WebSocketRequestHandler handler,
IWebSocketPushMessage message)
A callback method called when there is a message pushed/broadcasted by the
server, e.g.
|
protected void |
WebSocketBehavior.onPush(WebSocketRequestHandler handler,
IWebSocketPushMessage message)
A callback method called when there is a message pushed/broadcasted by the
server, e.g.
|
void |
IWebSocketConnection.sendMessage(IWebSocketPushMessage message)
Broadcasts a push message to the wicket page (and it's components) associated with this
connection.
|
void |
AbstractWebSocketConnection.sendMessage(IWebSocketPushMessage message) |
| Modifier and Type | Method and Description |
|---|---|
IWebSocketPushMessage |
WebSocketPushPayload.getMessage() |
| Constructor and Description |
|---|
WebSocketPushPayload(IWebSocketPushMessage data,
WebSocketRequestHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
WebSocketTester.broadcast(Application application,
String sessionId,
IKey key,
IWebSocketPushMessage message)
Broadcasts/pushes a message to specific web socket connection
|
void |
WebSocketTester.broadcastAll(Application application,
IWebSocketPushMessage message)
Broadcasts/pushes a message to all active web socket connections
|
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.