All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vikingbrain.nmt.operations.playback.StopPodOperation 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 stops POD playback.
 * Execution example: http://popcorn:8008/playback?arg0=stop_pod
 * 
 * @author vikingBrain
 */
public class StopPodOperation extends AbstractPlayblackOperation {

	/** Operation type. */
	private static final OperationType operationType = ModuleType.PLAYBACK.stop_pod;
	
	/** Response target class. */
	private static final Class responseTargetClass = ResponseSimple.class;

	/**
	 * Constructor.
	 * @param operationFactory the operation factory
	 */
	public StopPodOperation(TheDavidboxOperationFactory operationFactory) {
		super(operationFactory, operationType, responseTargetClass);
	}

	@Override
	public String toString() {
		return "StopPodOperation [getOperationType()="
				+ getOperationType() + "]";
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy