Module vcr4j.core
Package org.mbari.vcr4j.decorators
Class VideoSyncDecorator<S extends VideoState,E extends VideoError>
java.lang.Object
org.mbari.vcr4j.decorators.VideoSyncDecorator<S,E>
- All Implemented Interfaces:
Decorator
public class VideoSyncDecorator<S extends VideoState,E extends VideoError>
extends Object
implements Decorator
This decorator schedules requests for status and video index frequently for keepin a UI's
state in sync with the video
- Since:
- 2016-08-29T16:23:00
- Author:
- Brian Schlining
-
Constructor Summary
ConstructorsConstructorDescriptionVideoSyncDecorator(VideoIO<S, E> io) VideoSyncDecorator(VideoIO<S, E> io, long statusInterval, long indexInterval) -
Method Summary
-
Constructor Details
-
VideoSyncDecorator
-
VideoSyncDecorator
-
-
Method Details
-
getTimer
-
unsubscribe
public void unsubscribe()Description copied from interface:DecoratorTells the decorator to unsubscribe from all Observables that it is watching.- Specified by:
unsubscribein interfaceDecorator
-