Uses of Interface
org.eclipse.jetty.websocket.api.WriteCallback
Packages that use WriteCallback
-
Uses of WriteCallback in org.eclipse.jetty.websocket.api
Classes in org.eclipse.jetty.websocket.api that implement WriteCallbackFields in org.eclipse.jetty.websocket.api declared as WriteCallbackMethods in org.eclipse.jetty.websocket.api with parameters of type WriteCallbackModifier and TypeMethodDescriptionvoidRemoteEndpoint.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.