Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.transport
Class CDMASmartMsg

java.lang.Object
  extended byoracle.panama.messaging.transport.CDMASmartMsg


public class CDMASmartMsg
extends java.lang.Object

Smart message for CDMA network. It is used by SmartMsgEncoder. A smart message encoder can encode a smart message, generate the binary payload to be sent by SMS drivers.

See Also:
SmartMsgEncoder, GSMSmartMsg

Constructor Summary
CDMASmartMsg(int destPort, int origPort, java.lang.String[] frags, java.lang.String[] headers)
Constructor.

Method Summary
int getDestinationPort()
Get the destination port.
java.lang.String[] getFragments()
Get the smart message's fragments.
java.lang.String[] getHeaders()
Get the fragments' headers.
int getOriginPort()
Get the source port.

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

Constructor Detail

CDMASmartMsg

public CDMASmartMsg(int destPort,
                    int origPort,
                    java.lang.String[] frags,
                    java.lang.String[] headers)
Constructor. Construct a new CDMA smart message.
Parameters:
destPort - the destination port.
origPort - the source port.
frags - the message fragments.
headers - the header for each fragment.

Method Detail

getDestinationPort

public int getDestinationPort()
Get the destination port.
Returns:
the destination port.

getFragments

public java.lang.String[] getFragments()
Get the smart message's fragments.
Returns:
the smart message's fragments.

getHeaders

public java.lang.String[] getHeaders()
Get the fragments' headers. The headers must match the fragements in the exactly order.
Returns:
the fragements' headers.

getOriginPort

public int getOriginPort()
Get the source port.
Returns:
the source port.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.