Class RemoteBackwardCommand<T>
- java.lang.Object
-
- jadex.bridge.component.impl.remotecommands.RemoteBackwardCommand<T>
-
- All Implemented Interfaces:
IRemoteConversationCommand<T>
public class RemoteBackwardCommand<T> extends java.lang.Object implements IRemoteConversationCommand<T>
Command for sending backward command data.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
info
The backward command info.
-
Constructor Summary
Constructors Constructor Description RemoteBackwardCommand()
Create the command.RemoteBackwardCommand(java.lang.Object info)
Create the command.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(IInternalAccess access, jadex.commons.future.IFuture<T> future, ISecurityInfo secinf)
Execute a command.java.lang.Object
getInfo()
Get the info.void
setInfo(java.lang.Object info)
Set the info.
-
-
-
Method Detail
-
execute
public void execute(IInternalAccess access, jadex.commons.future.IFuture<T> future, ISecurityInfo secinf)
Execute a command.- Specified by:
execute
in interfaceIRemoteConversationCommand<T>
- 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.
-
getInfo
public java.lang.Object getInfo()
Get the info.- Returns:
- The info.
-
setInfo
public void setInfo(java.lang.Object info)
Set the info.- Parameters:
info
- The info to set.
-
-