|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.transport.sms.SMSMessage
public class SMSMessage
SMS message is a atomic object wich carries a SMS
SMS has can be either a IN message or a OUT message
which will have the details sender , receiver ,Content and properties
sender , receiver has a implied meaning with the Message direction
eg:
in a IN_MESSAGE sender : the phone number of the phone that sms has been sent to axis2
receiver : the phone number given from the SMSC to the Axis2
in a OUT_MESSAGE sender : the phone number given from the SMSC to the Axis2
receiver : the phone number of the phone that sms created from Axis2 must deliver to
| Field Summary | |
|---|---|
static int |
IN_MESSAGE
|
static int |
OUT_MESSAGE
|
| Constructor Summary | |
|---|---|
SMSMessage(java.lang.String sender,
java.lang.String reciever,
java.lang.String content,
int direction)
|
|
| Method Summary | |
|---|---|
void |
addProperty(java.lang.String key,
java.lang.Object value)
add the Implementation level properties that properties will be add to the Axis2 Message Context |
java.lang.String |
getContent()
Return The Contect that will be send with the SMS |
int |
getDirection()
return the Message Direction of the SMSMessage That should be either SMS_IN_MESSAGE :1 Or SMS_OUT_MESSAGE : 2 |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Return the properties of the SMS message |
java.lang.String |
getReceiver()
Return the phone Number that SMS must be received to |
java.lang.String |
getSender()
Retuen the Phone Number of the Sender |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int IN_MESSAGE
public static int OUT_MESSAGE
| Constructor Detail |
|---|
public SMSMessage(java.lang.String sender,
java.lang.String reciever,
java.lang.String content,
int direction)
throws org.apache.axis2.AxisFault
sender - reciever - content - direction -
org.apache.axis2.AxisFault| Method Detail |
|---|
public java.lang.String getSender()
public java.lang.String getReceiver()
public java.lang.String getContent()
public int getDirection()
public void addProperty(java.lang.String key,
java.lang.Object value)
key - value - public java.util.Map<java.lang.String,java.lang.Object> getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||