Uses of Interface
io.undertow.websockets.core.WebSocketCallback
Packages that use WebSocketCallback
-
Uses of WebSocketCallback in io.undertow.websockets.core
Methods in io.undertow.websockets.core with parameters of type WebSocketCallbackModifier and TypeMethodDescriptionvoid
BufferedBinaryMessage.read
(StreamSourceFrameChannel channel, WebSocketCallback<BufferedBinaryMessage> callback) void
BufferedTextMessage.read
(StreamSourceFrameChannel channel, WebSocketCallback<BufferedTextMessage> callback) static void
WebSockets.sendBinary
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete binary message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendBinary
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete binary message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendBinary
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete binary message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendBinary
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete binary message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendBinary
(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete binary message, invoking the callback when completestatic void
WebSockets.sendBinary
(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete binary message, invoking the callback when completestatic <T> void
WebSockets.sendBinary
(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete binary message, invoking the callback when completestatic <T> void
WebSockets.sendBinary
(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete binary message, invoking the callback when completestatic void
WebSockets.sendBinary
(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete binary message, invoking the callback when completestatic void
WebSockets.sendBinary
(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete binary message, invoking the callback when completestatic <T> void
WebSockets.sendBinary
(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete binary message, invoking the callback when completestatic <T> void
WebSockets.sendBinary
(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete binary message, invoking the callback when completestatic void
WebSockets.sendClose
(int code, String reason, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete close message, invoking the callback when completestatic <T> void
WebSockets.sendClose
(int code, String reason, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete close message, invoking the callback when completestatic void
WebSockets.sendClose
(CloseMessage closeMessage, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete close message, invoking the callback when completestatic <T> void
WebSockets.sendClose
(CloseMessage closeMessage, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete close message, invoking the callback when completestatic void
WebSockets.sendClose
(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete close message, invoking the callback when completestatic <T> void
WebSockets.sendClose
(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete close message, invoking the callback when completestatic void
WebSockets.sendClose
(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete close message, invoking the callback when completestatic <T> void
WebSockets.sendClose
(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete close message, invoking the callback when completestatic void
WebSockets.sendPing
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete ping message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendPing
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete ping message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendPing
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete ping message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendPing
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete ping message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendPing
(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete ping message, invoking the callback when completestatic void
WebSockets.sendPing
(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete ping message, invoking the callback when completestatic <T> void
WebSockets.sendPing
(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete ping message, invoking the callback when completestatic <T> void
WebSockets.sendPing
(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete ping message, invoking the callback when completestatic void
WebSockets.sendPing
(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete ping message, invoking the callback when completestatic void
WebSockets.sendPing
(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete ping message, invoking the callback when completestatic <T> void
WebSockets.sendPing
(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete ping message, invoking the callback when completestatic <T> void
WebSockets.sendPing
(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete ping message, invoking the callback when completestatic void
WebSockets.sendPong
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete pong message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendPong
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete pong message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendPong
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete pong message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendPong
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete pong message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendPong
(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete pong message, invoking the callback when completestatic void
WebSockets.sendPong
(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete pong message, invoking the callback when completestatic <T> void
WebSockets.sendPong
(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete pong message, invoking the callback when completestatic <T> void
WebSockets.sendPong
(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete pong message, invoking the callback when completestatic void
WebSockets.sendPong
(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete pong message, invoking the callback when completestatic void
WebSockets.sendPong
(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete pong message, invoking the callback when completestatic <T> void
WebSockets.sendPong
(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete pong message, invoking the callback when completestatic <T> void
WebSockets.sendPong
(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete pong message, invoking the callback when completestatic void
WebSockets.sendText
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete text message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendText
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete text message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendText
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete text message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static <T> void
WebSockets.sendText
(PooledByteBuffer pooledData, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete text message, invoking the callback when complete Automatically frees the pooled byte buffer when done.static void
WebSockets.sendText
(String message, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete text message, invoking the callback when completestatic void
WebSockets.sendText
(String message, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete text message, invoking the callback when completestatic <T> void
WebSockets.sendText
(String message, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete text message, invoking the callback when completestatic <T> void
WebSockets.sendText
(String message, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete text message, invoking the callback when completestatic void
WebSockets.sendText
(ByteBuffer message, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete text message, invoking the callback when completestatic void
WebSockets.sendText
(ByteBuffer message, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete text message, invoking the callback when completestatic <T> void
WebSockets.sendText
(ByteBuffer message, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context) Sends a complete text message, invoking the callback when completestatic <T> void
WebSockets.sendText
(ByteBuffer message, WebSocketChannel wsChannel, WebSocketCallback<T> callback, T context, long timeoutmillis) Sends a complete text message, invoking the callback when complete