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

com.vikingbrain.nmt.client.modules.ModuleUpnp Maven / Gradle / Ivy

package com.vikingbrain.nmt.client.modules;

import com.vikingbrain.nmt.operations.upnp.ListUpnpServerFilesOperation;
import com.vikingbrain.nmt.operations.upnp.ListUpnpServerFilesRootOperation;
import com.vikingbrain.nmt.operations.upnp.ListUpnpServerOperation;

/**
 * It allows to create the operations related to the uPnP AV module.
 * 
 * @author vikingBrain
 */
public interface ModuleUpnp extends BaseModule {

	/**
	 * It creates an operation that lists all List all the UPNP server(s).
	 * @return the operation created
	 */		
	ListUpnpServerOperation buildListUpnpServerOperation();

	/**
	 * It creates an operation that lists all the file or folder in the root of an UPNP server.
	 * @param urlUpnpServer
	 * @param offset
	 * @param numberElements
	 * @return
	 */
	ListUpnpServerFilesRootOperation buildListUpnpServerFilesRootOperation(String urlUpnpServer, int offset, int numberElements);
	
	/**
	 * It creates an operation that lists all the file or folder in UPNP server.
	 * @param urlUpnpServer
	 * @param directoryId
	 * @param offset
	 * @param numberElements
	 * @return
	 */
	ListUpnpServerFilesOperation buildListUpnpServerFilesOperation(String urlUpnpServer, String directoryId, int offset, int numberElements);
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy