public class RemoteFutureTerminationCommand extends AbstractRemoteCommand
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
callid
The call identifier.
|
protected java.lang.Exception |
exception
The exception.
|
protected java.lang.String |
terminatecallid
The call identifier to terminate.
|
nonfunc, receiver
Constructor and Description |
---|
RemoteFutureTerminationCommand()
Create a new remote method invocation command.
|
RemoteFutureTerminationCommand(java.lang.String callid,
java.lang.String terminatecallid,
java.lang.Exception reason)
Create a new remote method invocation 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.
|
java.lang.Exception |
getException()
Get the exception.
|
java.lang.String |
getSecurityLevel()
Get the security level of the request.
|
java.lang.String |
getTerminateCallId()
Get the terminate call id.
|
void |
setCallId(java.lang.String callid)
Set the call id.
|
void |
setException(java.lang.Exception exception)
Set the exception.
|
void |
setTerminateCallId(java.lang.String terminatecallid)
Set the terminate call id.
|
getNonFunctionalProperties, getNonFunctionalProperty, getOrigin, getRealReceiver, getReceiver, getSender, postprocessCommand, preprocessCommand, setNonFunctionalProperties
getAuthenticationData, getDigestContent, getTimestamp, getValidityDuration, setAuthenticationData, setDigestContent, setTimestamp, setValidityDuration
protected java.lang.String callid
protected java.lang.String terminatecallid
protected java.lang.Exception exception
public RemoteFutureTerminationCommand()
public RemoteFutureTerminationCommand(java.lang.String callid, java.lang.String terminatecallid, java.lang.Exception reason)
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.IIntermediateFuture<IRemoteCommand> execute(jadex.bridge.IExternalAccess component, RemoteServiceManagementService rsms)
lrms
- The local remote management service.public java.lang.String getCallId()
public void setCallId(java.lang.String callid)
callid
- The call id to set.public java.lang.Exception getException()
public void setException(java.lang.Exception exception)
exception
- The exception to set.public java.lang.String getTerminateCallId()
public void setTerminateCallId(java.lang.String terminatecallid)
terminatecallid
- The terminate call id to set.