Package | Description |
---|---|
javax.websocket | |
org.apache.tomcat.websocket | |
org.apache.tomcat.websocket.server |
Server-side specific implementation classes.
|
Modifier and Type | Method and Description |
---|---|
void |
RemoteEndpoint.Async.sendBinary(ByteBuffer data,
SendHandler completion)
Send the message asynchronously, using the SendHandler to signal to the
client when the message has been sent.
|
void |
RemoteEndpoint.Async.sendObject(Object obj,
SendHandler completion) |
void |
RemoteEndpoint.Async.sendText(String text,
SendHandler completion)
Send the message asynchronously, using the SendHandler to signal to the
client when the message has been sent.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WsRemoteEndpointImplClient.doWrite(SendHandler handler,
ByteBuffer... data) |
protected abstract void |
WsRemoteEndpointImplBase.doWrite(SendHandler handler,
ByteBuffer... data) |
void |
WsRemoteEndpointAsync.sendBinary(ByteBuffer data,
SendHandler completion) |
void |
WsRemoteEndpointImplBase.sendBytesByCompletion(ByteBuffer data,
SendHandler handler) |
void |
WsRemoteEndpointAsync.sendObject(Object obj,
SendHandler completion) |
void |
WsRemoteEndpointImplBase.sendObjectByCompletion(Object obj,
SendHandler completion) |
void |
WsRemoteEndpointImplBase.sendStringByCompletion(String text,
SendHandler handler) |
void |
WsRemoteEndpointAsync.sendText(String text,
SendHandler completion) |
Constructor and Description |
---|
SendHandlerToCompletionHandler(SendHandler handler) |
Modifier and Type | Method and Description |
---|---|
protected void |
WsRemoteEndpointImplServer.doWrite(SendHandler handler,
ByteBuffer... buffers) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.