Package org.apache.activemq.transport.ws
Interface WSTransport.WSTransportSink
- Enclosing interface:
- WSTransport
public static interface WSTransport.WSTransportSink
WS Transport output sink, used to give the WS Transport implementation
a way to produce output back to the WS connection without coupling it
to the implementation.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Method Details
-
onSocketOutboundText
Called from the Transport when new outgoing String data is ready.- Parameters:
data
- The newly prepared outgoing string data.- Throws:
IOException
- if an error occurs or the socket doesn't support text data.
-
onSocketOutboundBinary
Called from the Transport when new outgoing String data is ready.- Parameters:
data
- The newly prepared outgoing string data.- Throws:
IOException
- if an error occurs or the socket doesn't support text data.
-