com.objectxp.msg.ota
Class GsmUssdBrowserSettings

java.lang.Object
  extended by com.objectxp.msg.Message
      extended by com.objectxp.msg.SmsMessage
          extended by com.objectxp.msg.ota.OTAMessage
              extended by com.objectxp.msg.ota.BrowserSettings
                  extended by 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

Field Summary
 
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
 
Fields inherited from class com.objectxp.msg.Message
ACK_TIME, MT_BINARY, MT_STATUS, MT_TEXT, SENDER_TYPE_ALPHA, SENDER_TYPE_GUESS, SENDER_TYPE_NUMBER
 
Constructor Summary
GsmUssdBrowserSettings(java.lang.String proxy, java.lang.String ussdServiceCode, boolean typeIPV4)
          Creates a GSM USSD BrowserSetting.
 
Method Summary
 java.lang.String getUSSDServiceCode()
           
 boolean isProxiIPV4()
          Returns true if the Proxy type is IPV4.
 void setProxyIPV4(boolean ipv4)
          Is used to identify the format of the PROXY address.
 void setUSSDServiceCode(java.lang.String code)
          Indicates the USSD service code.
 
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.ota.OTAMessage
buildParts, buildParts, getParts, toString
 
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 com.objectxp.msg.Message
clone, getProperty, getSenderType, getTimestamp, setID, setProperty, setSenderType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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