Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.common
Class EncodedSMSSegment

java.lang.Object
  extended byoracle.panama.messaging.common.EncodedSMSSegment

All Implemented Interfaces:
java.io.Serializable

public class EncodedSMSSegment
extends java.lang.Object
implements java.io.Serializable

The encoded SMS message segment. A encoded sms segment consits of data part and a header part.

See Also:
EncodedSMS, Serialized Form

Constructor Summary
EncodedSMSSegment()

Method Summary
boolean equals(java.lang.Object other)
Checks the equality of two EncodedSMSSegments.
byte[] getData()
Gets the data part of the encoded sms segment.
byte[] getHeader()
Gets header part of the encoded sms segment.
int hashCode()
Generates and returns a hash code.
void setData(byte[] data)
Sets data part of the encoded sms segment.
void setHeader(byte[] header)
Sets the header part of the encoded sms segment.

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

EncodedSMSSegment

public EncodedSMSSegment()

Method Detail

equals

public boolean equals(java.lang.Object other)
Checks the equality of two EncodedSMSSegments.
Parameters:
other - Object to be compared for equality.
Returns:
true if the segments are equal otherwise false.

getData

public byte[] getData()
Gets the data part of the encoded sms segment.
Returns:
data.

getHeader

public byte[] getHeader()
Gets header part of the encoded sms segment.
Returns:
header.

hashCode

public int hashCode()
Generates and returns a hash code.
Returns:
hash code.

setData

public void setData(byte[] data)
Sets data part of the encoded sms segment.
Parameters:
data -

setHeader

public void setHeader(byte[] header)
Sets the header part of the encoded sms segment.
Parameters:
header -

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.