public static interface WSTransport.WSTransportSink
Modifier and Type | Method and Description |
---|---|
void |
onSocketOutboundBinary(ByteBuffer data)
Called from the Transport when new outgoing String data is ready.
|
void |
onSocketOutboundText(String data)
Called from the Transport when new outgoing String data is ready.
|
void onSocketOutboundText(String data) throws IOException
data
- The newly prepared outgoing string data.IOException
- if an error occurs or the socket doesn't support text data.void onSocketOutboundBinary(ByteBuffer data) throws IOException
data
- The newly prepared outgoing string data.IOException
- if an error occurs or the socket doesn't support text data.Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.