Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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 java.util.Map;
import jadex.bridge.IComponentIdentifier;
import jadex.bridge.IComponentStep;
import jadex.bridge.IExternalAccess;
import jadex.bridge.service.types.cms.CMSStatusEvent;
import jadex.bridge.service.types.cms.IComponentDescription;
import jadex.commons.future.IFuture;
import jadex.commons.future.ISubscriptionIntermediateFuture;
/**
* External perspective of the execution feature.
*/
public interface IExternalExecutionFeature extends IExternalComponentFeature
{
/**
* Execute a component step.
* @param step The component step.
* @return the future result of the step execution.
*/
public IFuture scheduleStep(IComponentStep step);
/**
* Schedule a component step but don't wait for its execution.
* Scheduling a decoupled step is useful to indicate that exceptions in the
* step are not handled by the caller, e.g., to have them printed to the console instead of discarded.
*
* @param step The component step.
* @return A future indicating that the step has been scheduled (but maybe not yet executed).
*/
public IFuture scheduleDecoupledStep(IComponentStep> step);
/**
* Execute a component step.
* @param step The component step.
* @param priority The step priority.
* The priority x>STEP_PRIORITY_IMMEDIATE being immediate steps,
* i.e. all steps with prio x>=STEP_PRIORITY_IMMEDIATE are always executed (even when suspended).
* Default steps get prio STEP_PRIORITY_NOMRAL (not immediate).
*/
public IFuture scheduleStep(int priority, IComponentStep step);
// /**
// * Execute an immediate component step,
// * i.e., the step is executed also when the component is currently suspended.
// */
// public IFuture scheduleImmediate(IComponentStep step);
/**
* Wait for some time and execute a component step afterwards.
*/
public IFuture waitForDelay(long delay, IComponentStep step, boolean realtime);
/**
* Wait for some time and execute a component step afterwards.
*/
public IFuture waitForDelay(long delay, IComponentStep step);
/**
* Wait for some time.
*/
public IFuture waitForDelay(long delay, boolean realtime);
/**
* Wait for some time.
*/
public IFuture waitForDelay(long delay);
/**
* Wait for the next tick.
* @param time The time.
*/
// TimerWrapper
public IFuture waitForTick(final IComponentStep run);
/**
* Wait for the next tick.
* @param time The time.
*/
// TimerWrapper
public IFuture waitForTick();
/**
* Waits for the components to finish.
*
* @return Component results.
*/
public IFuture