Ditto Bus Callback
interface DittoBusCallback
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)
Another peer has opened a stream to this device. Set its callbacks immediately.
Link copied to clipboard
A bus message has been received from another peer in the mesh.