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

com.vikingbrain.nmt.operations.upnp.ListUpnpServerFilesRootOperation Maven / Gradle / Ivy

Go to download

A Java HTTP client for consuming TheDavidBox Service API of Networked Media Tank devices

There is a newer version: 1.2.1
Show newest version
package com.vikingbrain.nmt.operations.upnp;

import com.vikingbrain.nmt.operations.TheDavidboxOperationFactory;
import com.vikingbrain.nmt.util.Constants;

/**
 * List all the file or folder in the root of an UPNP server.
 * Execution example: 
 * http://popcorn:8008/upnp?arg0=list_upnp_server_files&arg1=http://...&arg2=&arg3=0&arg4=10&arg5=true&arg6=true&arg7=true&arg8=image/png
 *
 * @author vikingBrain
 *
 */
public class ListUpnpServerFilesRootOperation extends ListUpnpServerFilesOperation {

	/** Root full path. */
	private static final String ROOT_FULL_PATH = Constants.EMPTY_STRING;	
		
	/**
	 * Constructor. 
	 * @param operationFactory  the operation factory
	 * @param urlUpnpServer Url get from list_upnp_server function
	 * @param offset start number of the response list
	 * @param numberElements number of response to return
	 */
	public ListUpnpServerFilesRootOperation(TheDavidboxOperationFactory operationFactory, String urlUpnpServer, int offset, int numberElements) {
		super(operationFactory, urlUpnpServer, ROOT_FULL_PATH, offset, numberElements);		
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy