public abstract class AbstractRemoteCommand extends jadex.bridge.service.types.security.DefaultAuthorizable implements IRemoteCommand
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
nonfunc
The non-functional properties.
|
protected jadex.bridge.IComponentIdentifier |
receiver
The receiver (for processing the command in rmipreprocessor, will not be transferred).
|
Constructor and Description |
---|
AbstractRemoteCommand()
Bean constructor.
|
AbstractRemoteCommand(java.util.Map<java.lang.String,java.lang.Object> nonfunc)
Bean constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getNonFunctionalProperties()
Get the non-functional properties of the call.
|
java.lang.Object |
getNonFunctionalProperty(java.lang.String name)
Get a non-func value.
|
jadex.bridge.IComponentIdentifier |
getOrigin()
The origin of the request.
|
jadex.bridge.IComponentIdentifier |
getRealReceiver()
Get the real receiver (other than rms).
|
jadex.bridge.IComponentIdentifier |
getReceiver()
Get the receiver (rms of other side).
|
jadex.bridge.IComponentIdentifier |
getSender()
Get the sender component (if other than rms).
|
jadex.commons.future.IFuture<java.lang.Void> |
postprocessCommand(jadex.bridge.IInternalAccess component,
RemoteReferenceModule rrm,
jadex.bridge.IComponentIdentifier target)
Post-process a received command before execution
for e.g.
|
jadex.commons.future.IFuture<java.lang.Void> |
preprocessCommand(jadex.bridge.IInternalAccess component,
RemoteReferenceModule rrm,
jadex.bridge.IComponentIdentifier target)
Preprocess command and replace if they are remote references.
|
void |
setNonFunctionalProperties(java.util.Map<java.lang.String,java.lang.Object> nonfunc)
Get the non-functional properties of the call.
|
getAuthenticationData, getDigestContent, getSecurityLevel, getTimestamp, getValidityDuration, setAuthenticationData, setDigestContent, setTimestamp, setValidityDuration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
protected jadex.bridge.IComponentIdentifier receiver
protected java.util.Map<java.lang.String,java.lang.Object> nonfunc
public AbstractRemoteCommand()
public AbstractRemoteCommand(java.util.Map<java.lang.String,java.lang.Object> nonfunc)
public jadex.commons.future.IFuture<java.lang.Void> preprocessCommand(jadex.bridge.IInternalAccess component, RemoteReferenceModule rrm, jadex.bridge.IComponentIdentifier target)
public jadex.commons.future.IFuture<java.lang.Void> postprocessCommand(jadex.bridge.IInternalAccess component, RemoteReferenceModule rrm, jadex.bridge.IComponentIdentifier target)
public jadex.bridge.IComponentIdentifier getReceiver()
public jadex.bridge.IComponentIdentifier getSender()
public jadex.bridge.IComponentIdentifier getRealReceiver()
public jadex.bridge.IComponentIdentifier getOrigin()
public java.util.Map<java.lang.String,java.lang.Object> getNonFunctionalProperties()
public void setNonFunctionalProperties(java.util.Map<java.lang.String,java.lang.Object> nonfunc)
public java.lang.Object getNonFunctionalProperty(java.lang.String name)
name
- The name.