com.vikingbrain.nmt.operations.playback.StepVodOperation Maven / Gradle / Ivy
package com.vikingbrain.nmt.operations.playback;
import com.vikingbrain.nmt.operations.ModuleType;
import com.vikingbrain.nmt.operations.OperationType;
import com.vikingbrain.nmt.operations.TheDavidboxOperationFactory;
import com.vikingbrain.nmt.responses.ResponseSimple;
/**
* Operation that step to next video frame during VOD playback. Only works when
* current speed is 0 (pause). Execution example:
* http://popcorn:8008/playback?arg0=step_vod
*
* @author vikingBrain
*/
public class StepVodOperation extends AbstractPlayblackOperation {
/** Operation type. */
private static final OperationType operationType = ModuleType.PLAYBACK.step_vod;
/** Response target class. */
private static final Class responseTargetClass = ResponseSimple.class;
/**
* Constructor.
* @param operationFactory the operation factory
*/
public StepVodOperation(TheDavidboxOperationFactory operationFactory) {
super(operationFactory, operationType, responseTargetClass);
}
@Override
public String toString() {
return "StepVodOperation [getOperationType()=" + getOperationType()
+ "]";
}
}