java.lang.Object
org.mbari.vcr4j.rs422.decorators.RS422StatusDecorator
- All Implemented Interfaces:
Decorator
The VideoIO simply executes the commands send. For many applications, the desired behavior
is to send a command to the VCR followed by a requestStatus. This class adds state requests to
the command observable for requests that need it. Typical usage:
VideoIO io = new RXTXVideoIO("COM 1");
RS422StatusDecorator decorator = new RS422StatusDecorator(io.getCommandSubject());
// That's it! Some commands will automatically trigger a status request.
io.send(VideoCommands.STOP);
- Since:
- 2016-01-29T09:55:00
- Author:
- Brian Schlining
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RS422StatusDecorator
-
-
Method Details
-
unsubscribe
public void unsubscribe()- Specified by:
unsubscribein interfaceDecorator
-