Uses of Interface
org.eclipse.jetty.websocket.api.WriteCallback
Package
Description
Jetty WebSocket API
Jetty WebSocket Common : Implementation [Internal Use Only]
-
Uses of WriteCallback in org.eclipse.jetty.websocket.api
Modifier and TypeMethodDescriptiondefault void
Session.close
(int statusCode, String reason, WriteCallback callback) Send a websocket Close frame, with status code.void
RemoteEndpoint.sendBytes
(ByteBuffer data, WriteCallback callback) Initiates the asynchronous transmission of a binary message.void
RemoteEndpoint.sendPartialBytes
(ByteBuffer fragment, boolean isLast, WriteCallback callback) Initiates the asynchronous transmission of a partial binary message.void
RemoteEndpoint.sendPartialString
(String fragment, boolean isLast, WriteCallback callback) Initiates the asynchronous transmission of a partial text message.void
RemoteEndpoint.sendPing
(ByteBuffer applicationData, WriteCallback callback) Asynchronously send a Ping message containing the given application data to the remote endpoint.void
RemoteEndpoint.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.void
RemoteEndpoint.sendString
(String text, WriteCallback callback) Initiates the asynchronous transmission of a text message. -
Uses of WriteCallback in org.eclipse.jetty.websocket.common
Modifier and TypeMethodDescriptionvoid
WebSocketSession.close
(int statusCode, String reason, WriteCallback callback) void
JettyWebSocketRemoteEndpoint.sendBytes
(ByteBuffer data, WriteCallback callback) void
JettyWebSocketRemoteEndpoint.sendPartialBytes
(ByteBuffer fragment, boolean isLast, WriteCallback callback) void
JettyWebSocketRemoteEndpoint.sendPartialString
(String fragment, boolean isLast, WriteCallback callback) void
JettyWebSocketRemoteEndpoint.sendPing
(ByteBuffer applicationData, WriteCallback callback) void
JettyWebSocketRemoteEndpoint.sendPong
(ByteBuffer applicationData, WriteCallback callback) void
JettyWebSocketRemoteEndpoint.sendString
(String text, WriteCallback callback)