public protocol DittoBusDelegate : AnyObject
Callbacks relating to Ditto Bus for both receiving single messages and accepting incoming streams.
A bus message has been received from another peer in the mesh.
func dittoBus(_ bus: DittoBus, didReceiveSingleMessage message: DittoBusMessage)
Another peer has opened a stream to this device. Set its delegate immediately.
func dittoBus(_ bus: DittoBus, didReceiveIncomingStream busStream: DittoBusStream, fromPeer peer: DittoAddress)