org.smslib
Class OutboundBinaryMessage
java.lang.Object
org.smslib.Message
org.smslib.OutboundMessage
org.smslib.OutboundBinaryMessage
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- OutboundEncryptedMessage, OutboundWapSIMessage
public class OutboundBinaryMessage
- extends OutboundMessage
Class representing an outbound binary (forced 8bit encoded) sms message.
- See Also:
- Serialized Form
Methods inherited from class org.smslib.OutboundMessage |
getDeliveryDelay, getDispatchDate, getErrorMessage, getFailureCause, getFlashSms, getFrom, getMessageStatus, getPdus, getPduUserData, getPduUserDataHeader, getPriority, getRecipient, getRefNo, getRetryCount, getScheduledDeliveryDate, getStatusReport, getValidityPeriod, setDeliveryDelay, setDispatchDate, setEncoding, setErrorMessage, setFailureCause, setFlashSms, setFrom, setMessageStatus, setPriority, setRecipient, setRefNo, setRetryCount, setScheduledDeliveryDate, setStatusReport, setValidityPeriod, toString |
Methods inherited from class org.smslib.Message |
getDate, getDCSMessageClass, getDstPort, getEncoding, getGatewayId, getId, getMessageId, getSrcPort, getType, getUuid, setDate, setDCSMessageClass, setDstPort, setGatewayId, setId, setSrcPort |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OutboundBinaryMessage
public OutboundBinaryMessage()
OutboundBinaryMessage
public OutboundBinaryMessage(java.lang.String myRecipient,
byte[] bytes)
- Outbound message constructor.
- Parameters:
myRecipient
- The recipient of the message.bytes
- The bytes (binary data) of the message.
getText
public java.lang.String getText()
- Description copied from class:
Message
- Returns the message text.
- Overrides:
getText
in class Message
- Returns:
- The message text.
- See Also:
Message.setText(String)
setText
public void setText(java.lang.String s)
- Description copied from class:
Message
- Sets the message text.
- Overrides:
setText
in class Message
- Parameters:
s
- The message text.- See Also:
Message.getText()
addText
public void addText(java.lang.String s)
- Overrides:
addText
in class Message
getDataBytes
public byte[] getDataBytes()
setDataBytes
public void setDataBytes(byte[] myDataBytes)
addDataBytes
public void addDataBytes(byte[] myDataBytes)
(c) 2002-2011, http://smslib.org