public class SmppUtil extends Object
| Constructor and Description |
|---|
SmppUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isIntermediateReceiptRequested(byte registeredDelivery)
Does the "registered_delivery" value have the "intermediate receipt" bit set?
|
static boolean |
isMessageTypeAnyDeliveryReceipt(byte esmClass)
Does the "esm_class" value have a message type set at all? This basically
checks if the "esm_class" could either be SMSC delivery receipt, ESME delivery receipt,
manual user acknowledgement, conversation abort, or an intermediate delivery receipt.
|
static boolean |
isMessageTypeEsmeDeliveryReceipt(byte esmClass)
Does the "esm_class" value have a message type of "ESME delivery receipt"?
|
static boolean |
isMessageTypeIntermediateDeliveryReceipt(byte esmClass)
Does the "esm_class" value have a message type of "intermediate delivery receipt"?
|
static boolean |
isMessageTypeManualUserAcknowledgement(byte esmClass)
Does the "esm_class" value have a message type of "manual/user acknowledgment"?
|
static boolean |
isMessageTypeSmscDeliveryReceipt(byte esmClass)
Does the "esm_class" value have a message type of "SMSC delivery receipt"?
|
static boolean |
isReplyPathEnabled(byte esmClass)
Does the "esm_class" value have the "reply path" bit set?
|
static boolean |
isSmscDeliveryReceiptOnFailureRequested(byte registeredDelivery)
Does the "registered_delivery" value have the "SMSC delivery receipt on failure" bit set?
This bit represents only a receipt on failure is requested.
|
static boolean |
isSmscDeliveryReceiptRequested(byte registeredDelivery)
Does the "registered_delivery" value have the "SMSC delivery receipt" bit set?
This bit represents both a success and failure receipt is requested.
|
static boolean |
isUserDataHeaderIndicatorEnabled(byte esmClass)
Does the "esm_class" value have the "user data header present" bit set?
|
static String |
toInterfaceVersionString(byte interfaceVersion)
Converts a byte value such as 0x34 into a version string such as "3.4"
|
public static boolean isMessageTypeAnyDeliveryReceipt(byte esmClass)
esmClass - The "esm_class" value to evaluatepublic static boolean isMessageTypeManualUserAcknowledgement(byte esmClass)
esmClass - The "esm_class" value to evaluatepublic static boolean isMessageTypeEsmeDeliveryReceipt(byte esmClass)
esmClass - The "esm_class" value to evaluatepublic static boolean isMessageTypeIntermediateDeliveryReceipt(byte esmClass)
esmClass - The "esm_class" value to evaluatepublic static boolean isMessageTypeSmscDeliveryReceipt(byte esmClass)
esmClass - The "esm_class" value to evaluatepublic static boolean isUserDataHeaderIndicatorEnabled(byte esmClass)
esmClass - The "esm_class" value to evaluatepublic static boolean isReplyPathEnabled(byte esmClass)
esmClass - The "esm_class" value to evaluatepublic static boolean isSmscDeliveryReceiptRequested(byte registeredDelivery)
registeredDelivery - The "registered_delivery" value to evaluatepublic static boolean isSmscDeliveryReceiptOnFailureRequested(byte registeredDelivery)
registeredDelivery - The "registered_delivery" value to evaluatepublic static boolean isIntermediateReceiptRequested(byte registeredDelivery)
registeredDelivery - The "registered_delivery" value to evaluatepublic static String toInterfaceVersionString(byte interfaceVersion)
interfaceVersion - Copyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.