public class SnsResponse extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_BAD_COMMAND |
static int |
STATUS_COMMS_FAILURE |
static int |
STATUS_INTERNAL_ERROR |
static int |
STATUS_INVALID_ACCOUNT |
static int |
STATUS_INVALID_OR_MISSING_FROM |
static int |
STATUS_INVALID_OR_MISSING_MSG |
static int |
STATUS_INVALID_OR_MISSING_MSISDN |
static int |
STATUS_MISSING_TOPIC |
static int |
STATUS_OK |
static int |
STATUS_TOPIC_NOT_FOUND |
static int |
STATUS_TOPIC_PERMISSION_FAILURE |
| Constructor and Description |
|---|
SnsResponse(java.lang.String command,
int resultCode,
java.lang.String resultMessage) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommand() |
int |
getResultCode() |
java.lang.String |
getResultMessage() |
public static final int STATUS_OK
public static final int STATUS_BAD_COMMAND
public static final int STATUS_INTERNAL_ERROR
public static final int STATUS_INVALID_ACCOUNT
public static final int STATUS_MISSING_TOPIC
public static final int STATUS_INVALID_OR_MISSING_MSISDN
public static final int STATUS_INVALID_OR_MISSING_FROM
public static final int STATUS_INVALID_OR_MISSING_MSG
public static final int STATUS_TOPIC_NOT_FOUND
public static final int STATUS_TOPIC_PERMISSION_FAILURE
public static final int STATUS_COMMS_FAILURE
public SnsResponse(java.lang.String command, int resultCode, java.lang.String resultMessage)
public java.lang.String getCommand()
public int getResultCode()
public java.lang.String getResultMessage()