Uses of Interface
org.apache.wicket.protocol.ws.api.IWebSocketConnection
-
Packages that use IWebSocketConnection Package Description org.apache.wicket.protocol.ws org.apache.wicket.protocol.ws.api org.apache.wicket.protocol.ws.api.registry org.apache.wicket.protocol.ws.javax -
-
Uses of IWebSocketConnection in org.apache.wicket.protocol.ws
Methods in org.apache.wicket.protocol.ws with parameters of type IWebSocketConnection Modifier and Type Method Description WebSocketRequestHandler
WebSocketSettings. newWebSocketRequestHandler(Page page, IWebSocketConnection connection)
A factory method for creating instances ofWebSocketRequestHandler
for processing a web socket requestWebResponse
WebSocketSettings. newWebSocketResponse(IWebSocketConnection connection)
A factory method for theWebResponse
that should be used to write the response back to the client/browserWebResponse
WebSocketSettings. 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
Classes in org.apache.wicket.protocol.ws.api that implement IWebSocketConnection Modifier and Type Class Description class
AbstractWebSocketConnection
Abstract class handling the Web Socket broadcast messages.Methods in org.apache.wicket.protocol.ws.api that return IWebSocketConnection Modifier and Type Method Description IWebSocketConnection
WebSocketResponse. getContainerResponse()
IWebSocketConnection
IWebSocketConnection. sendMessage(byte[] message, int offset, int length)
Sends a binary message to the client.IWebSocketConnection
IWebSocketConnection. sendMessage(String message)
Sends a text message to the client.Methods in org.apache.wicket.protocol.ws.api with parameters of type IWebSocketConnection Modifier and Type Method Description 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 void
AbstractWebSocketProcessor. onConnect(IWebSocketConnection connection)
A helper that registers the opened connection in the application-level registry.Constructors in org.apache.wicket.protocol.ws.api with parameters of type IWebSocketConnection Constructor Description WebSocketRequestHandler(Component component, IWebSocketConnection connection)
WebSocketResponse(IWebSocketConnection conn)
WebSocketResponse(IWebSocketConnection conn, boolean asynchronous, long timeout)
-
Uses of IWebSocketConnection in org.apache.wicket.protocol.ws.api.registry
Methods in org.apache.wicket.protocol.ws.api.registry that return IWebSocketConnection Modifier and Type Method Description IWebSocketConnection
IWebSocketConnectionRegistry. getConnection(Application application, String sessionId, IKey key)
IWebSocketConnection
SimpleWebSocketConnectionRegistry. getConnection(Application application, String sessionId, IKey key)
Methods in org.apache.wicket.protocol.ws.api.registry that return types with arguments of type IWebSocketConnection Modifier and Type Method Description Collection<IWebSocketConnection>
IWebSocketConnectionRegistry. getConnections(Application application)
Collection<IWebSocketConnection>
IWebSocketConnectionRegistry. getConnections(Application application, String sessionId)
Collection<IWebSocketConnection>
IWebSocketConnectionRegistry. getConnections(Application application, IWebSocketConnectionRegistry.IConnectionsFilter connectionsFilter)
Collection<IWebSocketConnection>
SimpleWebSocketConnectionRegistry. getConnections(Application application)
Returns a collection of currently active websockets.Collection<IWebSocketConnection>
SimpleWebSocketConnectionRegistry. getConnections(Application application, String sessionId)
Collection<IWebSocketConnection>
SimpleWebSocketConnectionRegistry. getConnections(Application application, IWebSocketConnectionRegistry.IConnectionsFilter connectionsFilter)
Methods in org.apache.wicket.protocol.ws.api.registry with parameters of type IWebSocketConnection Modifier and Type Method Description void
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
Classes in org.apache.wicket.protocol.ws.javax that implement IWebSocketConnection Modifier and Type Class Description class
JavaxWebSocketConnection
A wrapper around JSR 356's native Session.Methods in org.apache.wicket.protocol.ws.javax that return IWebSocketConnection Modifier and Type Method Description IWebSocketConnection
JavaxWebSocketConnection. sendMessage(byte[] message, int offset, int length)
IWebSocketConnection
JavaxWebSocketConnection. sendMessage(String message)
-