Package | Description |
---|---|
javax.websocket |
This package contains all the WebSocket APIs common to both the client and server side.
|
org.glassfish.tyrus.core |
Core classes.
|
org.glassfish.tyrus.core.cluster |
Cluster relates classes and interfaces.
|
Modifier and Type | Method and Description |
---|---|
void |
RemoteEndpoint.Async.sendBinary(ByteBuffer data,
SendHandler handler)
Initiates the asynchronous transmission of a binary message.
|
void |
RemoteEndpoint.Async.sendObject(Object data,
SendHandler handler)
Initiates the asynchronous transmission of a custom developer object.
|
void |
RemoteEndpoint.Async.sendText(String text,
SendHandler handler)
Initiates the asynchronous transmission of a text message.
|
Modifier and Type | Method and Description |
---|---|
void |
ProtocolHandler.send(byte[] data,
SendHandler handler) |
void |
ProtocolHandler.send(String data,
SendHandler handler) |
void |
TyrusWebSocket.sendBinary(byte[] data,
SendHandler handler)
Send a binary frame to the remote endpoint.
|
void |
TyrusWebSocket.sendText(String data,
SendHandler handler)
Send a text frame to the remote endpoint.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
ClusterContext.sendBinary(String sessionId,
byte[] data,
SendHandler sendHandler)
Send binary message with
SendHandler . |
abstract void |
ClusterContext.sendText(String sessionId,
String text,
SendHandler sendHandler)
Send text message with
SendHandler . |
Copyright © 2012–2019 Oracle Corporation. All rights reserved.