Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.transport
Class SmartMsgEncoder

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


public abstract class SmartMsgEncoder
extends java.lang.Object

Smart message encoder. A smart message encoder can be used by SMS drivers to encode smart messages for example OTA setting, ring-tone and so on.

A default encoder is shipped.

Customers can plug in their own encoders.

See Also:
GSMSmartMsg, CDMASmartMsg

Constructor Summary
SmartMsgEncoder()

Method Summary
CDMASmartMsg encodeCDMASmartMsg(java.lang.String type, java.lang.String model, java.util.Hashtable attributes)
Encode a CDMA smart message.
GSMSmartMsg encodeGSMSmartMsg(java.lang.String type, java.lang.String model, java.util.Hashtable attributes)
Encode a GSM smart message.

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

Constructor Detail

SmartMsgEncoder

public SmartMsgEncoder()

Method Detail

encodeCDMASmartMsg

public CDMASmartMsg encodeCDMASmartMsg(java.lang.String type,
                                       java.lang.String model,
                                       java.util.Hashtable attributes)
                                throws TransportException
Encode a CDMA smart message.
Parameters:
type - the smart message type.
model - the device model name.
attributes - thesmart message settings.
Returns:
an encoded cdma smart message.
Throws:
TransportException

encodeGSMSmartMsg

public GSMSmartMsg encodeGSMSmartMsg(java.lang.String type,
                                     java.lang.String model,
                                     java.util.Hashtable attributes)
                              throws TransportException
Encode a GSM smart message.
Parameters:
type - the smart message type.
model - the device model name.
attributes - thesmart message settings.
Returns:
an encoded smart message.
Throws:
TransportException

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.