|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.marre.sms.SmsConcatMessage org.marre.sms.SmsPortAddressedMessage org.marre.sms.SmsPortAddressedTextMessage
A port addressed message that delegates the text part to SmsTextMessage.
Field Summary | |
protected SmsTextMessage |
smsTextMessage_
The text message part. |
Fields inherited from class org.marre.sms.SmsPortAddressedMessage |
myDestPort, myOrigPort |
Constructor Summary | |
SmsPortAddressedTextMessage(int destPort,
int origPort,
java.lang.String msg)
Creates a new SmsPortAddressedTextMessage with default 6Bit GSM Alphabet. |
|
SmsPortAddressedTextMessage(int destPort,
int origPort,
java.lang.String theMsg,
int alphabet,
byte messageClass)
Creates a new SmsPortAddressedTextMessage with the given alphabet and message class. |
|
SmsPortAddressedTextMessage(int destPort,
int origPort,
java.lang.String msg,
SmsDcs dcs)
Creates a SmsPortAddressedTextMessage with the given dcs. |
Method Summary | |
SmsDcs |
getDcs()
Returns the dcs. |
java.lang.String |
getText()
Returns the text message. |
SmsUserData |
getUserData()
Returns the whole UD |
void |
setText(java.lang.String text)
Sets the text. |
void |
setText(java.lang.String text,
SmsDcs dcs)
Sets the text. |
Methods inherited from class org.marre.sms.SmsPortAddressedMessage |
getUdhElements, setPorts |
Methods inherited from class org.marre.sms.SmsConcatMessage |
getPdus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SmsTextMessage smsTextMessage_
Constructor Detail |
public SmsPortAddressedTextMessage(int destPort, int origPort, java.lang.String msg)
destPort
- origPort
- msg
- public SmsPortAddressedTextMessage(int destPort, int origPort, java.lang.String theMsg, int alphabet, byte messageClass)
alphabet can be any of:
- SmsConstants.ALPHABET_GSM
- SmsConstants.ALPHABET_8BIT
- SmsConstants.ALPHABET_UCS2
messageClass can be any of:
- SmsConstants.MSG_CLASS_0 (Often called a FLASH message)
- SmsConstants.MSG_CLASS_1
- SmsConstants.MSG_CLASS_2
- SmsConstants.MSG_CLASS_3
destPort
- origPort
- theMsg
- alphabet
- messageClass
- public SmsPortAddressedTextMessage(int destPort, int origPort, java.lang.String msg, SmsDcs dcs)
destPort
- origPort
- msg
- dcs
- Method Detail |
public SmsUserData getUserData()
SmsConcatMessage
getUserData
in class SmsConcatMessage
public java.lang.String getText()
public void setText(java.lang.String text)
text
- public void setText(java.lang.String text, SmsDcs dcs)
text
- public SmsDcs getDcs()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |