com.objectxp.msg.ota
Class ExtendedBrowserSettings

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.ExtendedBrowserSettings
All Implemented Interfaces:
MultiPartMessage, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
CSDBrowserSettings, GPRSBrowserSettings

public abstract class ExtendedBrowserSettings
extends BrowserSettings

Additional Browser settings.

See Also:
Serialized Form

Field Summary
static java.lang.String CHAP
          CHAP stands for Challenge Handshake Authentication Protocol, a protocol used to negotiate the most secure form of encrypted authentication supported by both server and client.
static java.lang.String MS_CHAP
          MS-CHAP (Microsoft(TM)-CHAP) is similar to the CHAP protocol, but is using an encryption scheme that is alternative to the one used for CHAP.
static java.lang.String PAP
          PAP is short for Password Authentication Protocol, a type of authentication which uses clear-text passwords and is the least sophisticated authentication protocol
 
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
 
Method Summary
 java.lang.String getISPName()
          Returns the ISP name or null if unset.
 java.lang.String getPPPAuthtype()
          Returns the PPPauthtype or null if not set.
 java.lang.String getPPPLoginName()
          Returns the PPP login name or null if not set.
 java.lang.String getPPPLoginPassword()
          Returns the PPP password or null if not set.
 java.lang.String getProxyLoginName()
          Returns the proxy loginName or null if not set.
 java.lang.String getProxyLoginPassword()
          Returns the proxy password or null if not set.
 boolean isPPPAutoLogin()
          Returns true if the PPP login type is automatic.
 boolean isProxyAutoLogin()
          Returns true if the proxy login type is automatic.
 void setISPName(java.lang.String name)
          Indicates the name of the Internet Service Provider.
 void setPPPAuthtype(java.lang.String type)
          Indicates which protocol to use for user authentication.
 void setPPPAutoLogin(boolean auto)
          Specifies whether a automatic or manual login should be performed in the PPP negotiation at the access point of the service provider.
 void setPPPLogin(java.lang.String username, java.lang.String password)
          Specify the login and password to be used for PPP login.
 void setProxyAutoLogin(boolean auto)
          Specifies whether a automatic or manual login should be performed at the proxy.
 void setProxyLogin(java.lang.String username, java.lang.String password)
          Set login and password for proxy authentication.
 
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
 

Field Detail

PAP

public static final java.lang.String PAP
PAP is short for Password Authentication Protocol, a type of authentication which uses clear-text passwords and is the least sophisticated authentication protocol

See Also:
Constant Field Values

CHAP

public static final java.lang.String CHAP
CHAP stands for Challenge Handshake Authentication Protocol, a protocol used to negotiate the most secure form of encrypted authentication supported by both server and client.

See Also:
Constant Field Values

MS_CHAP

public static final java.lang.String MS_CHAP
MS-CHAP (Microsoft(TM)-CHAP) is similar to the CHAP protocol, but is using an encryption scheme that is alternative to the one used for CHAP.

See Also:
Constant Field Values
Method Detail

setPPPAuthtype

public void setPPPAuthtype(java.lang.String type)
                    throws java.lang.IllegalArgumentException
Indicates which protocol to use for user authentication. Known procols are:

Parameters:
type - the authentication type
Throws:
java.lang.IllegalArgumentException - if an unknown authentication type has been specified.

getPPPAuthtype

public java.lang.String getPPPAuthtype()
Returns the PPPauthtype or null if not set.


setPPPLogin

public void setPPPLogin(java.lang.String username,
                        java.lang.String password)
Specify the login and password to be used for PPP login.

Parameters:
username - the username (max length: 32)
password - the password (max length: 20)

setPPPAutoLogin

public void setPPPAutoLogin(boolean auto)
Specifies whether a automatic or manual login should be performed in the PPP negotiation at the access point of the service provider.

Parameters:
auto - true=AUTOMATIC, false=MANUAL.

getPPPLoginName

public java.lang.String getPPPLoginName()
Returns the PPP login name or null if not set.


getPPPLoginPassword

public java.lang.String getPPPLoginPassword()
Returns the PPP password or null if not set.


isPPPAutoLogin

public boolean isPPPAutoLogin()
Returns true if the PPP login type is automatic. If the login type is not set, or the logintype is manual, false will be returned.


setProxyLogin

public void setProxyLogin(java.lang.String username,
                          java.lang.String password)
Set login and password for proxy authentication.

Please note:Support for proxy authentication is manufacturer specific.

Parameters:
username - the user name (max length: 32)
password - the password (max length: 20)

setProxyAutoLogin

public void setProxyAutoLogin(boolean auto)
Specifies whether a automatic or manual login should be performed at the proxy.


getProxyLoginName

public java.lang.String getProxyLoginName()
Returns the proxy loginName or null if not set.


getProxyLoginPassword

public java.lang.String getProxyLoginPassword()
Returns the proxy password or null if not set.


isProxyAutoLogin

public boolean isProxyAutoLogin()
Returns true if the proxy login type is automatic. If the login type is not set, or the login type is manual, false will be returned.


setISPName

public void setISPName(java.lang.String name)
                throws java.lang.IllegalArgumentException
Indicates the name of the Internet Service Provider.

Note:Support for this parameter is manufacturer specific.

Parameters:
name - the ISP name (max 20 bytes).
Throws:
java.lang.IllegalArgumentException - if the length of the name exceeds 20 chars.

getISPName

public java.lang.String getISPName()
Returns the ISP name or null if unset.



object XP, Inc. © 2000-2008. All rights reserved object XP