com.objectxp.msg.ota
Class GsmUssdBrowserSettings
java.lang.Object
com.objectxp.msg.Message
com.objectxp.msg.SmsMessage
com.objectxp.msg.ota.OTAMessage
com.objectxp.msg.ota.BrowserSettings
com.objectxp.msg.ota.GsmUssdBrowserSettings
- All Implemented Interfaces:
- MultiPartMessage, java.io.Serializable, java.lang.Cloneable
public class GsmUssdBrowserSettings
- extends BrowserSettings
GSM/USSD is using Unstructured Supplementary Services Data as bearer.
- See Also:
- Serialized Form
| Fields inherited from class com.objectxp.msg.SmsMessage |
CLASS_0, CLASS_1, CLASS_2, CLASS_3, DC_8BIT, DC_DEFAULT, DC_GROUP_DATA, DC_GROUP_GENERAL, DC_GROUP_MSG_WAITING_DISCARD, DC_GROUP_MSG_WAITING_STORE, DC_UCS2, INDICATION_ACTIVE, INDICATION_INACTIVE, INDICATION_TYPE_EMAIL, INDICATION_TYPE_FAX, INDICATION_TYPE_OTHER, INDICATION_TYPE_VOICEMAIL, NO_CLASS |
|
Constructor Summary |
GsmUssdBrowserSettings(java.lang.String proxy,
java.lang.String ussdServiceCode,
boolean typeIPV4)
Creates a GSM USSD BrowserSetting. |
| Methods inherited from class com.objectxp.msg.ota.BrowserSettings |
addBookmark, getBookmarks, getBrowserSettingID, getMMSURL, getName, getPort, getProxy, removeBookmark, setBrowserSettingID, setMMSURL, setName, setPort, setProxy |
| Methods inherited from class com.objectxp.msg.SmsMessage |
containsUserDataHeader, copyFields, getAlphabet, getBytes, getCodingGroup, getDeferredDeliveryAsDate, getDeferredDeliveryInMinutes, getID, getIndicationState, getIndicationType, getMessage, getMessageClass, getParent, getPID, getRecipient, getRecipientAddress, getSender, getSenderAddress, getType, getUserData, getUserDataHeader, getValidityPeriodAsDate, getValidityPeriodInMinutes, hasDeferredDelivery, hasMessageClass, hasValidityPeriod, isCompressed, isMMS, isRejectDuplicates, isRelativeDeferredDelivery, isRelativeValidityPeriod, isReplyPath, requestStatusReport, requestStatusReport, setAlphabet, setCodingGroup, setCompression, setDeferredDelivery, setDeferredDelivery, setIndicationState, setIndicationType, setMessage, setMessage, setMessageClass, setMMS, setParent, setPID, setRecipient, setRecipientAddress, setRejectDuplicates, setReplyPath, setSender, setSenderAddress, setType, setUserData, setUserDataHeader, setUserDataHeader, setValidityPeriod, setValidityPeriod |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GsmUssdBrowserSettings
public GsmUssdBrowserSettings(java.lang.String proxy,
java.lang.String ussdServiceCode,
boolean typeIPV4)
- Creates a GSM USSD BrowserSetting.
- Parameters:
proxy - Identifies the address of the proxy.ussdServiceCode - Indicates the USSD service code.typeIPV4 - Identifies the format of the PROXY address.
setUSSDServiceCode
public void setUSSDServiceCode(java.lang.String code)
- Indicates the USSD service code.
Sets the PARM element with the NAME=USSD_SERVICE_CODE attribute
- Parameters:
code - (max 10 bytes)
getUSSDServiceCode
public java.lang.String getUSSDServiceCode()
- Returns:
- the USSD service code.
setProxyIPV4
public void setProxyIPV4(boolean ipv4)
- Is used to identify the format of the PROXY address.
Sets the PARM element with the NAME=PROXY_TYPE attribute
- Parameters:
ipv4 - (true->proxy as IP Address, false->proxy as MSISDN number)
isProxiIPV4
public boolean isProxiIPV4()
- Returns true if the Proxy type is IPV4. If the proxy type
is not set, or the proxy type is msisdn, false will be returned.
object XP, Inc. © 2000-2008. All rights reserved object XP