Package | Description |
---|---|
io.undertow.websockets.core |
Modifier and Type | Method and Description |
---|---|
void |
BufferedBinaryMessage.read(StreamSourceFrameChannel channel,
WebSocketCallback<BufferedBinaryMessage> callback) |
void |
BufferedTextMessage.read(StreamSourceFrameChannel channel,
WebSocketCallback<BufferedTextMessage> callback) |
static <T> void |
WebSockets.sendBinary(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context)
Sends a complete binary message, invoking the callback when complete
|
static <T> void |
WebSockets.sendBinary(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis)
Sends a complete binary message, invoking the callback when complete
|
static void |
WebSockets.sendBinary(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback)
Sends a complete binary message, invoking the callback when complete
|
static void |
WebSockets.sendBinary(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis)
Sends a complete binary message, invoking the callback when complete
|
static <T> void |
WebSockets.sendBinary(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context)
Sends a complete binary message, invoking the callback when complete
|
static <T> void |
WebSockets.sendBinary(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis)
Sends a complete binary message, invoking the callback when complete
|
static void |
WebSockets.sendBinary(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback)
Sends a complete binary message, invoking the callback when complete
|
static void |
WebSockets.sendBinary(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis)
Sends a complete binary message, invoking the callback when complete
|
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(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.sendClose(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context)
Sends a complete close message, invoking the callback when complete
|
static void |
WebSockets.sendClose(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback)
Sends a complete close message, invoking the callback when complete
|
static <T> void |
WebSockets.sendClose(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context)
Sends a complete close message, invoking the callback when complete
|
static void |
WebSockets.sendClose(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback)
Sends a complete close message, invoking the callback when complete
|
static <T> void |
WebSockets.sendClose(CloseMessage closeMessage,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context)
Sends a complete close message, invoking the callback when complete
|
static void |
WebSockets.sendClose(CloseMessage closeMessage,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback)
Sends a complete close message, invoking the callback when complete
|
static <T> void |
WebSockets.sendClose(int code,
String reason,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context)
Sends a complete close message, invoking the callback when complete
|
static void |
WebSockets.sendClose(int code,
String reason,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback)
Sends a complete close message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPing(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context)
Sends a complete ping message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPing(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis)
Sends a complete ping message, invoking the callback when complete
|
static void |
WebSockets.sendPing(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback)
Sends a complete ping message, invoking the callback when complete
|
static void |
WebSockets.sendPing(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis)
Sends a complete ping message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPing(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context)
Sends a complete ping message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPing(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis)
Sends a complete ping message, invoking the callback when complete
|
static void |
WebSockets.sendPing(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback)
Sends a complete ping message, invoking the callback when complete
|
static void |
WebSockets.sendPing(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis)
Sends a complete ping message, invoking the callback when complete
|
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(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.sendPong(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context)
Sends a complete pong message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPong(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis)
Sends a complete pong message, invoking the callback when complete
|
static void |
WebSockets.sendPong(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback)
Sends a complete pong message, invoking the callback when complete
|
static void |
WebSockets.sendPong(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis)
Sends a complete pong message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPong(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context)
Sends a complete pong message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPong(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis)
Sends a complete pong message, invoking the callback when complete
|
static void |
WebSockets.sendPong(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback)
Sends a complete pong message, invoking the callback when complete
|
static void |
WebSockets.sendPong(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis)
Sends a complete pong message, invoking the callback when complete
|
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(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.sendText(ByteBuffer message,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context)
Sends a complete text message, invoking the callback when complete
|
static <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
|
static void |
WebSockets.sendText(ByteBuffer message,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback)
Sends a complete text message, invoking the callback when complete
|
static void |
WebSockets.sendText(ByteBuffer message,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis)
Sends a complete text message, invoking the callback when complete
|
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(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(String message,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context)
Sends a complete text message, invoking the callback when complete
|
static <T> void |
WebSockets.sendText(String message,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis)
Sends a complete text message, invoking the callback when complete
|
static void |
WebSockets.sendText(String message,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback)
Sends a complete text message, invoking the callback when complete
|
static void |
WebSockets.sendText(String message,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis)
Sends a complete text message, invoking the callback when complete
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.