Ditto Bus Callback
Callbacks relating to Ditto Bus for both receiving single messages and accepting incoming streams.
Functions
Link copied to clipboard
abstract fun dittoBusDidReceiveIncomingStreamFromPeer(busStream: DittoBusStream, peer: DittoAddress)
Content copied to clipboard
Another peer has opened a stream to this device. Set its callbacks immediately.
Link copied to clipboard
abstract fun dittoBusDidReceiveSingleMessage(bus: DittoBus, message: DittoBusMessage)
Content copied to clipboard
A bus message has been received from another peer in the mesh.