public class RemoteSearchCommand extends AbstractRemoteCommand
Modifier and Type | Field and Description |
---|---|
protected jadex.bridge.IComponentIdentifier |
caller
The caller.
|
protected java.lang.String |
callid
The callid.
|
protected jadex.commons.IAsyncFilter<jadex.bridge.service.IService> |
filter
The filter.
|
protected boolean |
multiple
The multiple flag.
|
protected jadex.bridge.IComponentIdentifier |
providerid
The providerid (i.e.
|
protected java.lang.String |
scope
The scope.
|
protected java.lang.String |
securitylevel
The security level (set by postprocessing).
|
protected jadex.bridge.ClassInfo |
type
The type.
|
nonfunc, receiver
Constructor and Description |
---|
RemoteSearchCommand()
Create a new remote search command.
|
RemoteSearchCommand(jadex.bridge.IComponentIdentifier providerid,
jadex.bridge.ClassInfo type,
boolean multiple,
java.lang.String scope,
java.lang.String callid,
jadex.commons.IAsyncFilter<jadex.bridge.service.IService> filter,
jadex.bridge.IComponentIdentifier caller)
Create a new remote search command.
|
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IIntermediateFuture<IRemoteCommand> |
execute(jadex.bridge.IExternalAccess component,
RemoteServiceManagementService rsms)
Execute the command.
|
java.lang.String |
getCallId()
Get the callid.
|
jadex.commons.IAsyncFilter<jadex.bridge.service.IService> |
getFilter()
Get the filter.
|
jadex.bridge.IComponentIdentifier |
getProviderId()
Get the providerid.
|
java.lang.String |
getScope()
Get the scope.
|
java.lang.String |
getSecurityLevel()
Return security level determined by post-process.
|
jadex.bridge.IComponentIdentifier |
getSender()
Get the sender component (if other than rms).
|
jadex.bridge.ClassInfo |
getType()
Get the type.
|
boolean |
isMultiple()
Get the multiple.
|
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.
|
void |
setCallId(java.lang.String callid)
Set the callid.
|
void |
setFilter(jadex.commons.IAsyncFilter<jadex.bridge.service.IService> filter)
Set the filter.
|
void |
setMultiple(boolean multiple)
Set the multiple.
|
void |
setProviderId(jadex.bridge.IComponentIdentifier providerid)
Set the providerid.
|
void |
setScope(java.lang.String scope)
Set the scope.
|
void |
setType(jadex.bridge.ClassInfo type)
Set the type.
|
java.lang.String |
toString()
Get the string representation.
|
getNonFunctionalProperties, getNonFunctionalProperty, getOrigin, getRealReceiver, getReceiver, preprocessCommand, setNonFunctionalProperties
getAuthenticationData, getDigestContent, getTimestamp, getValidityDuration, setAuthenticationData, setDigestContent, setTimestamp, setValidityDuration
protected jadex.bridge.IComponentIdentifier providerid
protected java.lang.String callid
protected java.lang.String securitylevel
protected jadex.bridge.ClassInfo type
protected boolean multiple
protected java.lang.String scope
protected jadex.commons.IAsyncFilter<jadex.bridge.service.IService> filter
protected jadex.bridge.IComponentIdentifier caller
public RemoteSearchCommand()
public RemoteSearchCommand(jadex.bridge.IComponentIdentifier providerid, jadex.bridge.ClassInfo type, boolean multiple, java.lang.String scope, java.lang.String callid, jadex.commons.IAsyncFilter<jadex.bridge.service.IService> filter, jadex.bridge.IComponentIdentifier caller)
public java.lang.String getSecurityLevel()
getSecurityLevel
in interface jadex.bridge.service.types.security.IAuthorizable
getSecurityLevel
in class jadex.bridge.service.types.security.DefaultAuthorizable
public jadex.commons.future.IFuture<java.lang.Void> postprocessCommand(jadex.bridge.IInternalAccess component, RemoteReferenceModule rrm, jadex.bridge.IComponentIdentifier target)
postprocessCommand
in class AbstractRemoteCommand
public jadex.commons.future.IIntermediateFuture<IRemoteCommand> execute(jadex.bridge.IExternalAccess component, RemoteServiceManagementService rsms)
lrms
- The local remote management service.public jadex.bridge.IComponentIdentifier getProviderId()
public void setProviderId(jadex.bridge.IComponentIdentifier providerid)
providerid
- The providerid to set.public java.lang.String getCallId()
public jadex.bridge.ClassInfo getType()
public void setType(jadex.bridge.ClassInfo type)
type
- The type to set.public boolean isMultiple()
public void setMultiple(boolean multiple)
multiple
- The multiple to set.public java.lang.String getScope()
public void setScope(java.lang.String scope)
scope
- The scope to set.public jadex.commons.IAsyncFilter<jadex.bridge.service.IService> getFilter()
public void setFilter(jadex.commons.IAsyncFilter<jadex.bridge.service.IService> filter)
filter
- The filter to set.public void setCallId(java.lang.String callid)
callid
- The callid to set.public jadex.bridge.IComponentIdentifier getSender()
getSender
in class AbstractRemoteCommand
public java.lang.String toString()
toString
in class java.lang.Object