Interface BoundedDomain.EventListener
- All Superinterfaces:
Flow.Subscriber<Object>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface BoundedDomain.EventListener
extends Flow.Subscriber<Object>
Defines a refined event listener interface to handle events in the domain or from another domain.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddefault voidvoiddefault voidonSubscribe(Flow.Subscription subscription)
-
Method Details
-
onComplete
default void onComplete()- Specified by:
onCompletein interfaceFlow.Subscriber<Object>
-
onError
- Specified by:
onErrorin interfaceFlow.Subscriber<Object>
-
onSubscribe
- Specified by:
onSubscribein interfaceFlow.Subscriber<Object>
-
onNext
- Specified by:
onNextin interfaceFlow.Subscriber<Object>
-