Package | Description |
---|---|
javax.websocket |
This package contains all the WebSocket APIs common to both the client
and server side.
|
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.
|
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.