callback

var callback: DittoBusStreamCallback? = null

Callbacks for events relating to this stream.

This must be set to a non-null value as soon as you obtain this stream, whether by opening a stream or by having an incoming stream arrive.