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

jadex.micro.testcases.stream.IStreamService Maven / Gradle / Ivy

Go to download

The Jadex micro applications package contains several example applications, benchmarks and testcases using micro agents.

There is a newer version: 4.0.267
Show newest version
package jadex.micro.testcases.stream;

import jadex.bridge.IInputConnection;
import jadex.bridge.IOutputConnection;
import jadex.bridge.service.annotation.SecureTransmission;
import jadex.commons.future.IFuture;

/**
 *  Service that provides a method with a stream return value.
 */
public interface IStreamService
{
	/**
	 *  Pass an input stream to the user.
	 *  @return The input stream.
	 */
	public IFuture getInputStream();

	/**
	 *  Pass an output stream to the user.
	 *  @return The input stream.
	 */
	public IFuture getOutputStream();

	/**
	 *  Pass an Input stream to the user.
	 *  @return The Input stream.
	 */
	public IFuture passInputStream(IInputConnection con);
	
	/**
	 *  Pass an output stream from the user.
	 *  @param con The output stream.
	 */
	public IFuture passOutputStream(IOutputConnection con);
	
	
	/**
	 *  Pass an input stream to the user.
	 *  @return The input stream.
	 */
	@SecureTransmission
	public IFuture getSecureInputStream();

	/**
	 *  Pass an output stream to the user.
	 *  @return The input stream.
	 */
	@SecureTransmission
	public IFuture getSecureOutputStream();

	/**
	 *  Pass an Input stream to the user.
	 *  @return The Input stream.
	 */
	@SecureTransmission
	public IFuture passSecureInputStream(IInputConnection con);
	
	/**
	 *  Pass an output stream from the user.
	 *  @param con The output stream.
	 */
	@SecureTransmission
	public IFuture passSecureOutputStream(IOutputConnection con);
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy