Package com.jsql.view.subscriber
Class AbstractSubscriber
java.lang.Object
com.jsql.view.subscriber.AbstractSubscriber
- All Implemented Interfaces:
Flow.Subscriber<Seal>
- Direct Known Subclasses:
SubscriberLogger,SubscriberScan,SubscriberView
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidObserver pattern.
Receive an update order from the model:
- Use the Request message to get the Interaction class,
- Pass the parameters to that class.voidvoidvoidvoidonSubscribe(Flow.Subscription subscription)
-
Constructor Details
-
AbstractSubscriber
public AbstractSubscriber()
-
-
Method Details
-
onSubscribe
- Specified by:
onSubscribein interfaceFlow.Subscriber<Seal>
-
onNext
- Specified by:
onNextin interfaceFlow.Subscriber<Seal>
-
execute
-
onError
- Specified by:
onErrorin interfaceFlow.Subscriber<Seal>
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceFlow.Subscriber<Seal>
-
getSubscription
Observer pattern.
Receive an update order from the model:
- Use the Request message to get the Interaction class,
- Pass the parameters to that class.
-