Class RemoteForwardCmdCommand
- java.lang.Object
-
- jadex.bridge.component.impl.remotecommands.AbstractInternalRemoteCommand
-
- jadex.bridge.component.impl.remotecommands.AbstractResultCommand
-
- jadex.bridge.component.impl.remotecommands.RemoteForwardCmdCommand
-
- All Implemented Interfaces:
IRemoteOrderedConversationCommand
public class RemoteForwardCmdCommand extends AbstractResultCommand
Remote command for sending future commands in ICommandFuture.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
command
The Command.-
Fields inherited from class jadex.bridge.component.impl.remotecommands.AbstractResultCommand
resultcount
-
-
Constructor Summary
Constructors Constructor Description RemoteForwardCmdCommand()
Create the command.RemoteForwardCmdCommand(java.lang.Object command)
Create the command.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doExecute(IInternalAccess access, jadex.commons.future.IFuture<?> future, ISecurityInfo secinf)
Execute a command.java.lang.Object
getCommand()
Get the command.void
setCommand(java.lang.Object command)
Set the command.-
Methods inherited from class jadex.bridge.component.impl.remotecommands.AbstractResultCommand
execute, getResultCount, setResultCount
-
Methods inherited from class jadex.bridge.component.impl.remotecommands.AbstractInternalRemoteCommand
getProperties, setProperties
-
-
-
-
Method Detail
-
doExecute
public void doExecute(IInternalAccess access, jadex.commons.future.IFuture<?> future, ISecurityInfo secinf)
Execute a command.- Specified by:
doExecute
in classAbstractResultCommand
- Parameters:
access
- The agent to run the command on.future
- Future of the active conversation.secinf
- The established security level to decide if the command is allowed.
-
getCommand
public java.lang.Object getCommand()
Get the command.- Returns:
- the command.
-
setCommand
public void setCommand(java.lang.Object command)
Set the command.- Parameters:
command
- The result to set.
-
-