IP*Works! V9

ipworks
Class SMPPRecipient

java.lang.Object
  extended by 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

Field Summary
static int smppRecipientTypeList
           
static int smppRecipientTypeNormal
           
 
Constructor Summary
SMPPRecipient()
           
SMPPRecipient(java.lang.String address)
           
SMPPRecipient(java.lang.String address, int recipientType)
           
 
Method Summary
 java.lang.String getAddress()
           
 int getRecipientType()
           
 void setAddress(java.lang.String value)
           
 void setRecipientType(int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

smppRecipientTypeNormal

public static final int smppRecipientTypeNormal
See Also:
Constant Field Values

smppRecipientTypeList

public static final int smppRecipientTypeList
See Also:
Constant Field Values
Constructor Detail

SMPPRecipient

public SMPPRecipient()

SMPPRecipient

public SMPPRecipient(java.lang.String address)

SMPPRecipient

public SMPPRecipient(java.lang.String address,
                     int recipientType)
Method Detail

getAddress

public java.lang.String getAddress()

setAddress

public void setAddress(java.lang.String value)

getRecipientType

public int getRecipientType()

setRecipientType

public void setRecipientType(int value)

IP*Works! V9

Copyright (c) 2013 /n software inc. - All rights reserved.