ipworks
Class SMPPRecipient
java.lang.Object
ipworks.SMPPRecipient
public class SMPPRecipient
- extends java.lang.Object
A recipient of the SMPP message.
This type describes a recipient of the
SMPP message that is being sent. The
fields describe the RecipientType
of recipient
and the Address
of the recipient of
the message.
Address:
This field contains the email address of a particular recipient.
This can be used for setting single or multiple recipients.
The RecipientType
contains the corresponding type.
For a recipient type of normal, the value in the Address
should be either the dotted IPv4 of an SMS-enabled device or the
directory number of a target mobile phone. For distributed lists,
the value should be the name of the list as it is stored on the SMPPServer
.
RecipientType:
This field contains the type of a particular recipient.
This field is used only for multiple recipient messages.
The Address
contains the corresponding recipient's address.
For a recipient type of normal, the value in Address
should be either the dotted IPv4 of an SMS-enabled device or the
directory number of a target mobile phone. For distributed lists,
the value should be the name of the list as it is stored on the SMPPServer
.
Valid values for RecipientType are:
- 0 (smppRecipientTypeNormal)
- Normal SME (Short Message Entity) Address
- 1 (smppRecipientTypeList)
- Distribution List
- See Also:
Atom
,
Atom.SMPPRecipient
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
smppRecipientTypeNormal
public static final int smppRecipientTypeNormal
- See Also:
- Constant Field Values
smppRecipientTypeList
public static final int smppRecipientTypeList
- See Also:
- Constant Field Values
SMPPRecipient
public SMPPRecipient()
SMPPRecipient
public SMPPRecipient(java.lang.String address)
SMPPRecipient
public SMPPRecipient(java.lang.String address,
int recipientType)
getAddress
public java.lang.String getAddress()
setAddress
public void setAddress(java.lang.String value)
getRecipientType
public int getRecipientType()
setRecipientType
public void setRecipientType(int value)
Copyright (c) 2013 /n software inc. - All rights reserved.