public interface WebSocketConnection
extends org.jetlang.core.Scheduler, org.jetlang.core.DisposingExecutor
Modifier and Type | Method and Description |
---|---|
void |
close()
Attempts to close the underlying socket.
|
java.net.SocketAddress |
getRemoteAddress() |
HttpRequest |
getRequest() |
SendResult |
send(java.lang.String msg)
Non-Blocking send of a text message.
|
SendResult |
sendBinary(byte[] buffer,
int offset,
int length)
Non-Blocking send of a binary message.
|
SendResult |
sendPing(byte[] bytes,
int offset,
int length)
Non-Blocking send
|
SendResult |
sendPong(byte[] bytes,
int offset,
int length)
Non-Blocking send
|
SendResult |
sendText(byte[] bytes,
int offset,
int length)
Non-Blocking send of a text message.
|
HttpRequest getRequest()
java.net.SocketAddress getRemoteAddress()
SendResult send(java.lang.String msg)
SendResult sendText(byte[] bytes, int offset, int length)
SendResult sendPong(byte[] bytes, int offset, int length)
SendResult sendPing(byte[] bytes, int offset, int length)
SendResult sendBinary(byte[] buffer, int offset, int length)
void close()
Copyright © 2019. All Rights Reserved.