|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.marre.sms.SmsConcatMessage
Baseclass for messages that needs to be concatenated.
- Only usable for messages that uses the same UDH fields for all message
parts.
- This class could be better written. There are several parts
that are copy- pasted.
- The septet coding could be a bit optimized.
Constructor Summary | |
protected |
SmsConcatMessage()
Creates an empty SmsConcatMessage. |
Method Summary | |
SmsPdu[] |
getPdus()
Converts this message into SmsPdu:s If the message is too long to fit in one SmsPdu the message is divided into many SmsPdu:s with a 8-bit concat pdu UDH element. |
abstract SmsUdhElement[] |
getUdhElements()
Returns the udh elements The returned UDH is the same as specified when the message was created. |
abstract SmsUserData |
getUserData()
Returns the whole UD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected SmsConcatMessage()
Method Detail |
public abstract SmsUserData getUserData()
public abstract SmsUdhElement[] getUdhElements()
The returned UDH is the same as specified when the message was created. No concat headers are added.
public SmsPdu[] getPdus()
If the message is too long to fit in one SmsPdu the message is divided into many SmsPdu:s with a 8-bit concat pdu UDH element.
getPdus
in interface SmsMessage
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |