jadex.bridge.component.impl.IInternalRemoteExecutionFeature 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.impl;
import java.lang.reflect.Method;
import jadex.bridge.component.impl.remotecommands.RemoteReference;
import jadex.commons.future.IFuture;
/**
* Feature for securely sending and handling remote execution commands.
* Internal methods, e.g., for platform-specific commands.
*/
public interface IInternalRemoteExecutionFeature
{
/**
* Invoke a method on a remote object.
* @param ref The target reference.
* @param method The method to be executed.
* @param args The arguments.
* @return The result(s) of the method invocation, if any. Connects any futures involved.
*/
public IFuture executeRemoteMethod(RemoteReference ref, Method method, Object[] args);
}