jadex.bridge.component.IRemoteExecutionFeature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-platform-bridge Show documentation
Show all versions of jadex-platform-bridge Show documentation
Jadex bridge is a base package for kernels and platforms, i.e., it is used by both and provides commonly used interfaces and classes for active components and their management.
package jadex.bridge.component;
import jadex.bridge.IComponentIdentifier;
import jadex.commons.future.IFuture;
/**
* Feature for securely sending and handling remote execution commands.
*/
public interface IRemoteExecutionFeature
{
/**
* Execute a command on a remote agent.
* @param target The component to send the command to.
* @param command The command to be executed.
* @param clazz The return type.
* @param timeout Custom timeout or null for default.
* @return The result(s) of the command, if any.
*/
public IFuture execute(IComponentIdentifier target, IRemoteCommand command, Class extends IFuture> clazz, Long timeout);
}