Method Summary |
|
public String | getAddress() Gets the address from the data stream. |
public int | getEncodingType() Gets the encoding type from the data stream. |
public byte[] | getMessage(int len) Gets the message bytes from the data stream.
Parameters: len - The number of bytes to read from the stream. |
public int | getMessageLength() Gets the length, in bytes, of the message from the data stream. |
public String | getPhoneNumber() Gets the phone number from the data stream. |
public int | getPort() Gets the port from the data stream. |
public long | getTimeStamp() Gets the time stamp from the data stream. |
public void | setAddress(String address) Sets the address that is associated with the message. |
public void | setEncodingType(int type) Writes the encoding type to the data stream. |
public void | setMessage(byte[] msg) Writes the message bytes to the data stream. |
public void | setMessageLength(int msgLen) Writes the length of the message in the data stream.. |
public void | setPhoneNumber(String phNum) Sets the phone number that is associated with the message. |
public void | setPort(int port) Sets the port that is associated with the message. |
public void | setTimeStamp(long timeStamp) Sets the timestamp that is associated with the message. |