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 void | WebSockets.sendBinary(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete text message, invoking the callback when complete |
static void | WebSockets.sendBinary(ByteBuffer[] data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete text message, invoking the callback when complete |
static void | WebSockets.sendBinary(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete text message, invoking the callback when complete |
static void | WebSockets.sendBinary(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback, long timeoutmillis) Sends a complete text 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 void | WebSockets.sendClose(ByteBuffer data, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) 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 void | WebSockets.sendClose(int code, String reason, WebSocketChannel wsChannel, WebSocketCallback<Void> callback) Sends a complete close 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 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 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 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 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 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 © 2015 JBoss by Red Hat. All rights reserved.