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.
|
SocketAddress |
getRemoteAddress() |
SendResult |
send(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
|
SocketAddress getRemoteAddress()
SendResult send(String msg)
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 © 2016. All Rights Reserved.