Minor: document the SMM.changes observable.

This commit is contained in:
Mike Hearn 2016-07-22 15:50:21 +02:00
parent 2c139ae40c
commit 119813a36d

View File

@ -91,6 +91,10 @@ class StateMachineManager(val serviceHub: ServiceHubInternal, tokenizableService
private val _changesPublisher = PublishSubject.create<Triple<ProtocolLogic<*>, AddOrRemove, Long>>()
/**
* An observable that emits triples of the changing protocol, the type of change, and a process-specific ID number
* which may change across restarts.
*/
val changes: Observable<Triple<ProtocolLogic<*>, AddOrRemove, Long>>
get() = _changesPublisher