public class ExternalAccess extends jadex.kernelbase.ExternalAccess implements IMicroExternalAccess
Constructor and Description |
---|
ExternalAccess(MicroAgent agent,
MicroAgentInterpreter interpreter)
Create an external access.
|
Modifier and Type | Method and Description |
---|---|
IFuture |
getAgent()
Get the agent implementation.
|
IFuture |
sendMessage(Map me,
MessageType mt)
Send a message.
|
IFuture |
waitFor(long time,
IComponentStep run)
Wait for an specified amount of time.
|
IFuture |
waitForTick(IComponentStep run)
Wait for the next tick.
|
addComponentListener, getArguments, getChildren, getChildren, getComponentIdentifier, getExtension, getFileName, getInterpreter, getLocalType, getModel, getResults, getServiceProvider, isExternalThread, killComponent, removeComponentListener, scheduleImmediate, scheduleImmediate, scheduleStep, scheduleStep, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addComponentListener, getArguments, getChildren, getChildren, getComponentIdentifier, getExtension, getFileName, getLocalType, getModel, getResults, getServiceProvider, killComponent, removeComponentListener, scheduleImmediate, scheduleImmediate, scheduleStep, scheduleStep
public ExternalAccess(MicroAgent agent, MicroAgentInterpreter interpreter)
public IFuture sendMessage(Map me, MessageType mt)
sendMessage
in interface IMicroExternalAccess
me
- The message.mt
- The message type.public IFuture waitFor(long time, IComponentStep run)
waitFor
in interface IMicroExternalAccess
time
- The time.run
- The runnable.public IFuture waitForTick(IComponentStep run)
waitForTick
in interface IMicroExternalAccess
time
- The time.public IFuture getAgent()
Copyright © 2012. All Rights Reserved.