public class SubtleAlertResponse extends RPCResponse
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_TRY_AGAIN_TIME |
KEY_INFO, KEY_RESULT_CODE, KEY_SUCCESSfunction, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
SubtleAlertResponse()
Constructs a new SubtleAlertResponse object
|
SubtleAlertResponse(Boolean success,
Result resultCode)
Constructs a new SubtleAlertResponse object
|
SubtleAlertResponse(Hashtable<String,Object> hash)
Constructs a new SubtleAlertResponse object indicated by the Hashtable parameter
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getTryAgainTime()
Gets the tryAgainTime.
|
SubtleAlertResponse |
setTryAgainTime(Integer tryAgainTime)
Sets the tryAgainTime.
|
getCorrelationID, getInfo, getResultCode, getSuccess, setCorrelationID, setInfo, setResultCode, setSuccessgetBoolean, getDouble, getFloat, getFunctionID, getFunctionName, getInteger, getLong, getMessageType, getObject, getParameters, getString, setFunctionName, setParametersclone, deserializeJSON, equals, format, formatObject, getBulkData, getMessageTypeName, getStore, getStoreValue, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_TRY_AGAIN_TIME
public SubtleAlertResponse()
public SubtleAlertResponse(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic SubtleAlertResponse setTryAgainTime(Integer tryAgainTime)
tryAgainTime - Amount of time (in milliseconds) that an app must wait before resending an alert.
If provided, another system event or overlay currently has a higher priority than this alert.
An app must not send an alert without waiting at least the amount of time dictated.public Integer getTryAgainTime()