-
public interface IncomingDataStreamManager
-
-
Method Summary
Modifier and Type Method Description abstract UnitregisterTextStreamHandler(String topic, Function2<TextStreamReceiver, Participant.Identity, Unit> handler)Registers a text stream handler for topic. abstract UnitunregisterTextStreamHandler(String topic)Unregisters a previously registered text handler for topic. abstract UnitregisterByteStreamHandler(String topic, Function2<ByteStreamReceiver, Participant.Identity, Unit> handler)Registers a byte stream handler for topic. abstract UnitunregisterByteStreamHandler(String topic)Unregisters a previously registered byte handler for topic. -
-
Method Detail
-
registerTextStreamHandler
abstract Unit registerTextStreamHandler(String topic, Function2<TextStreamReceiver, Participant.Identity, Unit> handler)
Registers a text stream handler for topic. Only one handler can be set for a particular topic at a time.
-
unregisterTextStreamHandler
abstract Unit unregisterTextStreamHandler(String topic)
Unregisters a previously registered text handler for topic.
-
registerByteStreamHandler
abstract Unit registerByteStreamHandler(String topic, Function2<ByteStreamReceiver, Participant.Identity, Unit> handler)
Registers a byte stream handler for topic. Only one handler can be set for a particular topic at a time.
-
unregisterByteStreamHandler
abstract Unit unregisterByteStreamHandler(String topic)
Unregisters a previously registered byte handler for topic.
-
-
-
-