Uses of Interface
org.glassfish.grizzly.websockets.WebSocket
Packages that use WebSocket
-
Uses of WebSocket in org.glassfish.grizzly.websockets
Classes in org.glassfish.grizzly.websockets that implement WebSocketModifier and TypeClassDescriptionclassclassGeneric WebSocket implementation.Fields in org.glassfish.grizzly.websockets declared as WebSocketMethods in org.glassfish.grizzly.websockets that return WebSocketModifier and TypeMethodDescriptionWebSocketApplication.createSocket(ProtocolHandler handler, org.glassfish.grizzly.http.HttpRequestPacket requestPacket, WebSocketListener... listeners) Factory method to create newWebSocketinstances.WebSocketApplication.createSocket(ProtocolHandler handler, WebSocketListener... listeners) Deprecated.ProtocolHandler.getWebSocket()static WebSocketWebSocketHolder.getWebSocket(org.glassfish.grizzly.Connection connection) Methods in org.glassfish.grizzly.websockets that return types with arguments of type WebSocketModifier and TypeMethodDescriptionWebSocketApplication.getWebSockets()Returns a set ofWebSockets, registered with the application.Methods in org.glassfish.grizzly.websockets with parameters of type WebSocketModifier and TypeMethodDescriptionprotected booleanAssociates the specifiedWebSocketwith this application.voidvoidWhen aonClose(DataFrame)is invoked, theWebSocketwill be unassociated with this application and closed.voidInvoked whenonClose(DataFrame)has been called on a particularWebSocketinstance.voidvoidvoidInvoked when the opening handshake has been completed for a specificWebSocketinstance.protected booleanThis method will be invoked if an unexpected exception is caught by the WebSocket runtime.voidWebSocketAdapter.onFragment(WebSocket socket, byte[] fragment, boolean last) voidWebSocketAdapter.onFragment(WebSocket socket, String fragment, boolean last) voidWebSocketListener.onFragment(WebSocket socket, byte[] fragment, boolean last) Invoked whenonFragment(boolean, byte[])has been called on a particularWebSocketinstance.voidWebSocketListener.onFragment(WebSocket socket, String fragment, boolean last) Invoked whenonFragment(boolean, String)has been called on a particularWebSocketinstance.voidvoidvoidInvoked whenonMessage(String)has been called on a particularWebSocketinstance.voidInvoked whenonMessage(String)has been called on a particularWebSocketinstance.voidvoidInvoked whenonPing(DataFrame)has been called on a particularWebSocketinstance.voidvoidInvoked whenonPong(DataFrame)has been called on a particularWebSocketinstance.booleanUnassociates the specifiedWebSocketwith this application.voidvoidstatic WebSocketHolderWebSocketHolder.set(org.glassfish.grizzly.Connection connection, ProtocolHandler handler, WebSocket socket) voidProtocolHandler.setWebSocket(WebSocket webSocket) Method parameters in org.glassfish.grizzly.websockets with type arguments of type WebSocketModifier and TypeMethodDescriptionvoidBroadcasts the provided binary content to the specified recipients.voidBroadcasts the provided text content to the specified recipients.voidBroadcasts the provided binary content to the specified recipients.voidBroadcasts the provided text content to the specified recipients.voidBroadcasts the provided binary content to the specified recipients.voidBroadcasts the provided text content to the specified recipients.voidvoidvoidBroadcasts the data to the remote end-point set.voidBroadcasts the data to the remote end-point set.voidBroadcaster.broadcastFragment(Iterable<? extends WebSocket> recipients, byte[] binary, boolean last) Broadcasts the provided fragmented binary content to the specified recipients.voidBroadcaster.broadcastFragment(Iterable<? extends WebSocket> recipients, String text, boolean last) Broadcasts the provided fragmented text content to the specified recipients.voidDummyBroadcaster.broadcastFragment(Iterable<? extends WebSocket> recipients, byte[] binary, boolean last) Broadcasts the provided fragmented binary content to the specified recipients.voidDummyBroadcaster.broadcastFragment(Iterable<? extends WebSocket> recipients, String text, boolean last) Broadcasts the provided fragmented text content to the specified recipients.voidOptimizedBroadcaster.broadcastFragment(Iterable<? extends WebSocket> recipients, byte[] binary, boolean last) voidOptimizedBroadcaster.broadcastFragment(Iterable<? extends WebSocket> recipients, String text, boolean last) voidSimpleWebSocket.broadcastFragment(Iterable<? extends WebSocket> recipients, byte[] data, boolean last) voidSimpleWebSocket.broadcastFragment(Iterable<? extends WebSocket> recipients, String data, boolean last) voidWebSocket.broadcastFragment(Iterable<? extends WebSocket> recipients, byte[] data, boolean last) Broadcasts the data fragment to the remote end-point set.voidWebSocket.broadcastFragment(Iterable<? extends WebSocket> recipients, String data, boolean last) Broadcasts the data fragment to the remote end-point set. -
Uses of WebSocket in org.glassfish.grizzly.websockets.frametypes
Methods in org.glassfish.grizzly.websockets.frametypes with parameters of type WebSocketModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoid
WebSocketApplication.createSocket(ProtocolHandler, org.glassfish.grizzly.http.HttpRequestPacket, WebSocketListener...)