Uses of Interface
org.eclipse.jetty.ee9.websocket.api.WriteCallback
Packages that use WriteCallback
Package
Description
Jetty WebSocket API
Jetty WebSocket Common : Implementation [Internal Use Only]
-
Uses of WriteCallback in org.eclipse.jetty.ee9.websocket.api
Classes in org.eclipse.jetty.ee9.websocket.api that implement WriteCallbackFields in org.eclipse.jetty.ee9.websocket.api declared as WriteCallbackMethods in org.eclipse.jetty.ee9.websocket.api with parameters of type WriteCallbackModifier and TypeMethodDescriptiondefault voidSession.close(int statusCode, String reason, WriteCallback callback) Send a websocket Close frame, with status code.voidRemoteEndpoint.sendBytes(ByteBuffer data, WriteCallback callback) Initiates the asynchronous transmission of a binary message.voidRemoteEndpoint.sendPartialBytes(ByteBuffer fragment, boolean isLast, WriteCallback callback) Initiates the asynchronous transmission of a partial binary message.voidRemoteEndpoint.sendPartialString(String fragment, boolean isLast, WriteCallback callback) Initiates the asynchronous transmission of a partial text message.voidRemoteEndpoint.sendPing(ByteBuffer applicationData, WriteCallback callback) Asynchronously send a Ping message containing the given application data to the remote endpoint.voidRemoteEndpoint.sendPong(ByteBuffer applicationData, WriteCallback callback) Allows the developer to asynchronously send an unsolicited Pong message containing the given application data in order to serve as a unidirectional heartbeat for the session.voidRemoteEndpoint.sendString(String text, WriteCallback callback) Initiates the asynchronous transmission of a text message. -
Uses of WriteCallback in org.eclipse.jetty.ee9.websocket.common
Methods in org.eclipse.jetty.ee9.websocket.common with parameters of type WriteCallbackModifier and TypeMethodDescriptionvoidWebSocketSession.close(int statusCode, String reason, WriteCallback callback) voidJettyWebSocketRemoteEndpoint.sendBytes(ByteBuffer data, WriteCallback callback) voidJettyWebSocketRemoteEndpoint.sendPartialBytes(ByteBuffer fragment, boolean isLast, WriteCallback callback) voidJettyWebSocketRemoteEndpoint.sendPartialString(String fragment, boolean isLast, WriteCallback callback) voidJettyWebSocketRemoteEndpoint.sendPing(ByteBuffer applicationData, WriteCallback callback) voidJettyWebSocketRemoteEndpoint.sendPong(ByteBuffer applicationData, WriteCallback callback) voidJettyWebSocketRemoteEndpoint.sendString(String text, WriteCallback callback)