public class RemoteIntermediateResultCommand extends RemoteResultCommand
Modifier and Type | Field and Description |
---|---|
protected int |
cnt
The result cnt.
|
protected boolean |
finished
The flag if is finished.
|
protected jadex.commons.future.IFuture<?> |
orig
The original future (not transmitted).
|
callid, exception, isref, methodname, result, sender
nonfunc, receiver
Constructor and Description |
---|
RemoteIntermediateResultCommand()
Create a new remote intermediate result command.
|
RemoteIntermediateResultCommand(jadex.bridge.IComponentIdentifier realreceiver,
java.lang.Object result,
java.lang.String callid,
boolean isref,
java.lang.String methodname,
boolean finished,
java.util.Map<java.lang.String,java.lang.Object> nonfunc,
jadex.commons.future.IFuture<?> orig,
int cnt)
Create a new remote intermediate result command.
|
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IIntermediateFuture |
execute(jadex.bridge.IExternalAccess component,
RemoteServiceManagementService rsms)
Execute the command.
|
int |
getCount()
Get the cnt.
|
jadex.commons.future.IFuture<?> |
getOriginalFuture()
Get the original future.
|
boolean |
isFinished()
Get the finished.
|
void |
setCount(int cnt)
Set the cnt.
|
void |
setFinished(boolean finished)
Set the finished.
|
java.lang.String |
toString()
Get as string.
|
getCallId, getException, getMethodName, getResult, getSecurityLevel, getSender, preprocessCommand, setCallId, setException, setMethodName, setResult, setSender
getNonFunctionalProperties, getNonFunctionalProperty, getOrigin, getRealReceiver, getReceiver, postprocessCommand, setNonFunctionalProperties
getAuthenticationData, getDigestContent, getTimestamp, getValidityDuration, setAuthenticationData, setDigestContent, setTimestamp, setValidityDuration
protected boolean finished
protected jadex.commons.future.IFuture<?> orig
protected int cnt
public RemoteIntermediateResultCommand()
public RemoteIntermediateResultCommand(jadex.bridge.IComponentIdentifier realreceiver, java.lang.Object result, java.lang.String callid, boolean isref, java.lang.String methodname, boolean finished, java.util.Map<java.lang.String,java.lang.Object> nonfunc, jadex.commons.future.IFuture<?> orig, int cnt)
public jadex.commons.future.IFuture<?> getOriginalFuture()
public jadex.commons.future.IIntermediateFuture execute(jadex.bridge.IExternalAccess component, RemoteServiceManagementService rsms)
execute
in interface IRemoteCommand
execute
in class RemoteResultCommand
lrms
- The local remote management service.public boolean isFinished()
public void setFinished(boolean finished)
finished
- The finished to set.public int getCount()
public void setCount(int cnt)
cnt
- The cnt to set.public java.lang.String toString()
toString
in class RemoteResultCommand