public class Pdu extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Pdu.Encoding |
static class |
Pdu.EncodingException |
static class |
Pdu.TimeToLife |
Constructor and Description |
---|
Pdu() |
Modifier and Type | Method and Description |
---|---|
Pdu.Encoding |
getEncoding() |
int |
getMsgId() |
short |
getPartCount() |
short |
getPartIndex() |
String |
getSmscAddress() |
String |
getText() |
net.sf.atmodem4j.core.gsm.UserData |
getUserData() |
boolean |
isCompressed() |
void |
setCompressed(boolean compressed) |
void |
setEncoding(Pdu.Encoding encoding) |
void |
setMsgId(int msgId) |
void |
setPartCount(short partCount) |
void |
setPartIndex(short partIndex) |
void |
setSmscAddress(String smscAddress) |
void |
setUserData(byte[] data,
int userDataLength,
int userDataHeaderLength) |
public boolean isCompressed()
public void setCompressed(boolean compressed)
compressed
- the compressed to setpublic Pdu.Encoding getEncoding()
public void setEncoding(Pdu.Encoding encoding)
encoding
- the encoding to setpublic String getSmscAddress()
public void setSmscAddress(String smscAddress)
smscAddress
- the smscAddress to setpublic short getPartIndex()
public void setPartIndex(short partIndex)
partIndex
- the partIndex to setpublic short getPartCount()
public void setPartCount(short partCount)
partCount
- the partCount to setpublic int getMsgId()
public void setMsgId(int msgId)
msgId
- the msgId to setpublic net.sf.atmodem4j.core.gsm.UserData getUserData()
public void setUserData(byte[] data, int userDataLength, int userDataHeaderLength)
userData
- the userData to setpublic String getText()
Copyright © 2009–2015 atmodem4j. All rights reserved.