public enum StatusType extends Enum<StatusType>
StatusType
enumerates all available status types in
the SDP Messaging. Some status types are reported by the engine to
indicate various message processing states, while others are
reported by the driver that delivers the message to a remote
gateway.Enum Constant and Description |
---|
CANCEL_ACKNOWLEDGEMENT_FAILURE
Indicates a failure that occurred during message cancel
acknowledgement.
|
CANCEL_ACKNOWLEDGEMENT_SUCCESS
Indicates successful message cancel acknowledgement.
|
DELIVERY_TO_CLIENT_FAILURE
Indicates a failure that occurred when the engine attempted to
deliver the message to a client (application).
|
DELIVERY_TO_CLIENT_PENDING
Indicates that the message was processed by the engine, and is
waiting for a client app to pick up the message.
|
DELIVERY_TO_CLIENT_SUCCESS
Indicates successful delivery of the message to a client.
|
DELIVERY_TO_DEVICE_FAILURE
Indicates a failure that occurred at the gateway when attempting
to deliver the message to the device.
|
DELIVERY_TO_DEVICE_SUCCESS
Indicates successful delivery of the message to the device.
|
DELIVERY_TO_DRIVER_FAILURE
Indicates a failure that occurred when the engine attempted to
deliver the message to a driver.
|
DELIVERY_TO_DRIVER_PENDING
Indicates that the message was processed by the engine, and is
waiting for a driver to pick up the message.
|
DELIVERY_TO_DRIVER_SUCCESS
Indicates successful delivery of the message to a driver.
|
DELIVERY_TO_GATEWAY_FAILURE
Indicates a failure that occurred when the driver attempted to
deliver the message to a gateway.
|
DELIVERY_TO_GATEWAY_PENDING
Indicates that the message was processed by the driver, and is
waiting for a gateway to pick up the message.
|
DELIVERY_TO_GATEWAY_SUCCESS
Indicates successful delivery of the message to a gateway.
|
DRIVER_PROCESSING_FAILURE
Indicates a failure that occurred during message processing in
the driver.
|
ENGINE_BLACKLIST_SUCCESS
Indicates that the recipient was caught in a blacklist or not found
in a whitelist causing the send to be aborted.
|
ENGINE_PROCESSING_FAILURE
Indicates a failure that occurred during message processing in
the engine.
|
INTERMEDIATE_NOTIFICATION
Indicates a pending state for this delivery - message is being
processed by the engine.
|
INVALID_ADDRESS_FAILURE
Indicates an invalid address for the message, detected by the driver.
|
INVALID_MESSAGE_FAILURE
Invalid message.
|
OVERALL_FAILURE
Indicates a final failure - no further statuses will be generated
for this delivery.
|
OVERALL_PENDING
Indicates a pending state for this delivery - message may either
be in a queue or being processed by the engine.
|
OVERALL_SUCCESS
Indicates a final status that concludes a successful delivery -
no further statuses will be generated for this delivery.
|
READ_ACKNOWLEDGEMENT_FAILURE
Indicates a failure that occurred during read acknowledgement.
|
READ_ACKNOWLEDGEMENT_SUCCESS
Indicates successful read acknowledgement of this message.
|
REPLACE_ACKNOWLEDGEMENT_FAILURE
Indicates a failure that occurred during message replace
acknowledgement.
|
REPLACE_ACKNOWLEDGEMENT_SUCCESS
Indicates successful message replace acknowledgement.
|
TIMEOUT
Indicates a delivery timeout occurred while waiting for
successful delivery acknowledgement of the message to this
recipient.
|
UNKNOWN_FAILURE
Indicates an unknown failure that occurred during message
processing.
|
UNKNOWN_STATUS_TYPE
Indicates a status received by the driver that it could not
understand.
|
USER_REPLY_ACKNOWLEDGEMENT_FAILURE
Indicates a failure that occurred during user reply
acknowledgement.
|
USER_REPLY_ACKNOWLEDGEMENT_SUCCESS
Indicates successful user reply acknowledgement.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
String |
getPrimaryType() |
String |
getSecondaryType() |
boolean |
isFailureType() |
boolean |
isPendingType() |
boolean |
isSuccessType() |
static StatusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusType UNKNOWN_FAILURE
Scope: Sending and Receiving
public static final StatusType UNKNOWN_STATUS_TYPE
Scope: Sending
public static final StatusType TIMEOUT
Scope: Sending
public static final StatusType OVERALL_FAILURE
Scope: Sending and Receiving
public static final StatusType OVERALL_PENDING
Scope: Sending and Receiving
public static final StatusType INVALID_MESSAGE_FAILURE
Scope: Sending and Receiving
public static final StatusType INVALID_ADDRESS_FAILURE
Scope: Sending and Receiving
public static final StatusType INTERMEDIATE_NOTIFICATION
Scope: Sending and Receiving
public static final StatusType ENGINE_PROCESSING_FAILURE
Scope: Sending and Receiving
public static final StatusType ENGINE_BLACKLIST_SUCCESS
Scope: Sending
public static final StatusType DRIVER_PROCESSING_FAILURE
Scope: Sending and Receiving
public static final StatusType DELIVERY_TO_DRIVER_FAILURE
Scope: Sending
public static final StatusType DELIVERY_TO_DRIVER_PENDING
Scope: Sending
public static final StatusType DELIVERY_TO_DRIVER_SUCCESS
Scope: Sending
public static final StatusType DELIVERY_TO_CLIENT_FAILURE
Scope: Receiving
public static final StatusType DELIVERY_TO_CLIENT_PENDING
Scope: Receiving
public static final StatusType DELIVERY_TO_CLIENT_SUCCESS
Scope: Receiving
public static final StatusType DELIVERY_TO_GATEWAY_FAILURE
Scope: Sending
public static final StatusType DELIVERY_TO_GATEWAY_PENDING
Scope: Sending
public static final StatusType DELIVERY_TO_GATEWAY_SUCCESS
Scope: Sending
public static final StatusType DELIVERY_TO_DEVICE_FAILURE
Scope: Sending
public static final StatusType DELIVERY_TO_DEVICE_SUCCESS
Scope: Sending
public static final StatusType READ_ACKNOWLEDGEMENT_FAILURE
Scope: Sending
public static final StatusType READ_ACKNOWLEDGEMENT_SUCCESS
Scope: Sending
public static final StatusType USER_REPLY_ACKNOWLEDGEMENT_FAILURE
Scope: Sending
public static final StatusType USER_REPLY_ACKNOWLEDGEMENT_SUCCESS
Scope: Sending
public static final StatusType CANCEL_ACKNOWLEDGEMENT_FAILURE
Scope: Sending
public static final StatusType CANCEL_ACKNOWLEDGEMENT_SUCCESS
Scope: Sending
public static final StatusType REPLACE_ACKNOWLEDGEMENT_FAILURE
Scope: Sending
public static final StatusType REPLACE_ACKNOWLEDGEMENT_SUCCESS
Scope: Sending
public static final StatusType OVERALL_SUCCESS
Scope: Sending and Receiving
public static StatusType[] values()
for (StatusType c : StatusType.values()) System.out.println(c);
public static StatusType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode()
public String getPrimaryType()
public String getSecondaryType()
public boolean isSuccessType()
public boolean isFailureType()
public boolean isPendingType()
Copyright © 2006, 2017 Oracle and/or its affiliates. All rights reserved.