oracle.panama.messaging.transport
Class SmartMsgEncoder
java.lang.Object
oracle.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
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 |
SmartMsgEncoder
public SmartMsgEncoder()
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
Copyright © 2004 Oracle Corporation. All Rights Reserved.