Class ConsoleFactObserver
- java.lang.Object
-
- org.factcast.client.grpc.cli.util.ConsoleFactObserver
-
- All Implemented Interfaces:
org.factcast.core.subscription.observer.FactObserver,org.factcast.core.subscription.observer.GenericObserver<org.factcast.core.Fact>
public class ConsoleFactObserver extends Object implements org.factcast.core.subscription.observer.FactObserver
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.factcast.core.subscription.observer.GenericObserver
org.factcast.core.subscription.observer.GenericObserver.ObserverBridge<I extends Object>
-
-
Constructor Summary
Constructors Constructor Description ConsoleFactObserver(Options opt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidawaitTermination()voidonCatchup()voidonComplete()voidonError(Throwable exception)voidonNext(org.factcast.core.Fact f)
-
-
-
Constructor Detail
-
ConsoleFactObserver
public ConsoleFactObserver(Options opt)
-
-
Method Detail
-
onNext
public void onNext(org.factcast.core.Fact f)
- Specified by:
onNextin interfaceorg.factcast.core.subscription.observer.GenericObserver<org.factcast.core.Fact>
-
awaitTermination
public void awaitTermination()
-
onCatchup
public void onCatchup()
- Specified by:
onCatchupin interfaceorg.factcast.core.subscription.observer.GenericObserver<org.factcast.core.Fact>
-
onComplete
public void onComplete()
- Specified by:
onCompletein interfaceorg.factcast.core.subscription.observer.GenericObserver<org.factcast.core.Fact>
-
onError
public void onError(Throwable exception)
- Specified by:
onErrorin interfaceorg.factcast.core.subscription.observer.GenericObserver<org.factcast.core.Fact>
-
-