com.vikingbrain.nmt.operations.playback.PauseVodOperation 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 pauses VOD playback.
* Execution example:
* http://popcorn:8008/playback?arg0=pause_vod
*
* @author vikingBrain
*/
public class PauseVodOperation extends AbstractPlayblackOperation {
/** Operation type. */
private static final OperationType operationType = ModuleType.PLAYBACK.pause_vod;
/** Response target class. */
private static final Class responseTargetClass = ResponseSimple.class;
/**
* Constructor.
* @param operationFactory the operation factory
*/
public PauseVodOperation(TheDavidboxOperationFactory operationFactory) {
super(operationFactory, operationType, responseTargetClass);
}
@Override
public String toString() {
return "PauseVodOperation [getOperationType()=" + getOperationType()
+ "]";
}
}