jadex.micro.testcases.stream.IStreamService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applications-micro Show documentation
Show all versions of jadex-applications-micro Show documentation
The Jadex micro applications package contains several example applications, benchmarks and testcases using micro agents.
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);
}