interface SchedulerService
Provides access to schedule activity at some point in time. This interface might well be expanded to increase the feature set in the future.
If the point in time is in the past, the expectation is that the activity will happen shortly after it is scheduled.
The main consumer initially is an observer of the vault to schedule activities based on transactions as they are recorded.
scheduleStateActivity |
abstract fun scheduleStateActivity(action: ScheduledStateRef): Unit Schedule a new activity for a TX output, probably because it was just produced. |
unscheduleStateActivity |
abstract fun unscheduleStateActivity(ref: StateRef): Unit Unschedule all activity for a TX output, probably because it was consumed. |
NodeSchedulerService |
class NodeSchedulerService : SchedulerService, SingletonSerializeAsToken A first pass of a simple SchedulerService that works with MutableClocks for testing, demonstrations and simulations that also encompasses the Vault observer for processing transactions. |