public interface TokenEventSupplier<T extends Token<T>>
TokenEvent
based on a SynchronousTokenChange
.Modifier and Type | Method and Description |
---|---|
<E extends ChildTokenEvent<T>> |
onTokenChange(SupplierTokenEvent<T> tokenEvent)
When a token changes (in any way and namely status), what else can it impact.
This represents the business logic that determines a response to the change. |
<E extends ChildTokenEvent<T>> Supplier<List<E>> onTokenChange(SupplierTokenEvent<T> tokenEvent)
ChangeListener
hooked to the ChangeGenerator
associated with the tokens.
Token
change event.tokenEvent
- as SynchronousChange
TokenEvent
Supplier
of a List of TokenEvent
s to fire as a result of the change detected. Example: message a Collection of tokensCopyright © 2018. All rights reserved.