Module vcr4j.core
Package org.mbari.vcr4j.decorators
Class LoggingDecorator<S extends VideoState,E extends VideoError>
java.lang.Object
org.mbari.vcr4j.decorators.LoggingDecorator<S,E>
- All Implemented Interfaces:
Decorator
public class LoggingDecorator<S extends VideoState,E extends VideoError>
extends Object
implements Decorator
Logs the errors, indices, state, and commands for a VideoIO
- Since:
- 2016-01-29T11:13:00
- Author:
- Brian Schlining
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final io.reactivex.rxjava3.core.Observer<VideoCommand>protected final io.reactivex.rxjava3.core.Observer<E>protected final io.reactivex.rxjava3.core.Observer<VideoIndex>protected final System.Loggerprotected final io.reactivex.rxjava3.core.Observer<S> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTells the decorator to unsubscribe from all Observables that it is watching.
-
Field Details
-
log
-
errorSubscriber
-
indexSubscriber
-
stateSubscriber
-
commandSubscriber
-
-
Constructor Details
-
LoggingDecorator
-
-
Method Details
-
unsubscribe
public void unsubscribe()Description copied from interface:DecoratorTells the decorator to unsubscribe from all Observables that it is watching.- Specified by:
unsubscribein interfaceDecorator
-