Uses of Interface
org.apache.wicket.protocol.ws.api.IWebSocketConnection
Package
Description
-
Uses of IWebSocketConnection in org.apache.wicket.protocol.ws
Modifier and TypeMethodDescriptionWebSocketSettings.newWebSocketRequestHandler
(Page page, IWebSocketConnection connection) A factory method for creating instances ofWebSocketRequestHandler
for processing a web socket requestWebSocketSettings.newWebSocketResponse
(IWebSocketConnection connection) A factory method for theWebResponse
that should be used to write the response back to the client/browserWebSocketSettings.newWebSocketResponse
(IWebSocketConnection connection, boolean asynchronousPush, long timeout) A factory method for theWebResponse
that should be used to write the response back to the client/browser -
Uses of IWebSocketConnection in org.apache.wicket.protocol.ws.api
Modifier and TypeClassDescriptionclass
Abstract class handling the Web Socket broadcast messages.Modifier and TypeMethodDescriptionfinal IWebSocketConnection
WebSocketResponse.getContainerResponse()
IWebSocketConnection.sendMessage
(byte[] message, int offset, int length) Sends a binary message to the client.IWebSocketConnection.sendMessage
(String message) Sends a text message to the client.Modifier and TypeMethodDescriptionfinal void
AbstractWebSocketProcessor.broadcastMessage
(IWebSocketMessage message, IWebSocketConnection connection, boolean asynchronousPush, long timeout) Exports the Wicket thread locals and broadcasts the received message from the client to all interested components and behaviors in the page with id#pageId
protected final void
AbstractWebSocketProcessor.onConnect
(IWebSocketConnection connection) A helper that registers the opened connection in the application-level registry.ModifierConstructorDescriptionWebSocketRequestHandler
(Component component, IWebSocketConnection connection) WebSocketResponse
(IWebSocketConnection conn, boolean asynchronous, long timeout) -
Uses of IWebSocketConnection in org.apache.wicket.protocol.ws.api.registry
Modifier and TypeMethodDescriptionIWebSocketConnectionRegistry.getConnection
(Application application, String sessionId, IKey key) SimpleWebSocketConnectionRegistry.getConnection
(Application application, String sessionId, IKey key) Modifier and TypeMethodDescriptionIWebSocketConnectionRegistry.getConnections
(Application application) IWebSocketConnectionRegistry.getConnections
(Application application, String sessionId) IWebSocketConnectionRegistry.getConnections
(Application application, IWebSocketConnectionRegistry.IConnectionsFilter connectionsFilter) SimpleWebSocketConnectionRegistry.getConnections
(Application application) Returns a collection of currently active websockets.SimpleWebSocketConnectionRegistry.getConnections
(Application application, String sessionId) SimpleWebSocketConnectionRegistry.getConnections
(Application application, IWebSocketConnectionRegistry.IConnectionsFilter connectionsFilter) Modifier and TypeMethodDescriptionvoid
IWebSocketConnectionRegistry.setConnection
(Application application, String sessionId, IKey key, IWebSocketConnection connection) Adds a new connection into the registry at the specified coordinates (application+session+page)void
SimpleWebSocketConnectionRegistry.setConnection
(Application application, String sessionId, IKey key, IWebSocketConnection connection) -
Uses of IWebSocketConnection in org.apache.wicket.protocol.ws.javax
Modifier and TypeClassDescriptionclass
A wrapper around JSR 356's native Session.Modifier and TypeMethodDescriptionJavaxWebSocketConnection.sendMessage
(byte[] message, int offset, int length) JavaxWebSocketConnection.sendMessage
(String message)