|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncml.spds.SyncConfig
public class SyncConfig
Configuration data for the SyncManager: account, polling time etc. TODO: remove Serializable?
Field Summary | |
---|---|
java.lang.String |
clientNonce
The nonce used for client authentication |
boolean |
compress
Communications with server compressed or not |
DeviceConfig |
deviceConfig
Devinfo |
boolean |
forceCookies
|
java.lang.String |
lastServerUrl
to contain the value of lastSyncUrl from SyncmlMPIConfig |
static java.lang.String |
NAME
|
java.lang.String |
password
|
java.lang.String |
preferredAuthType
|
java.lang.String[] |
supportedAuthTypes
The list of supported authentication types |
java.lang.String |
syncUrl
Account Connection params |
java.lang.String |
userAgent
|
java.lang.String |
userName
|
protected static int |
VERSION
This field contains the version of the configuration data |
protected static int |
VERSION_600
|
protected static int |
VERSION_850
|
Constructor Summary | |
---|---|
SyncConfig()
Creates a new instance of SyncConfig: Sets default configuration values |
Method Summary | |
---|---|
boolean |
allowBasicAuthentication()
|
boolean |
allowMD5Authentication()
|
void |
deserialize(java.io.DataInputStream in)
Read object field from the input stream. |
DeviceConfig |
getDeviceConfig()
|
java.lang.String |
getPassword()
|
java.lang.String |
getSyncUrl()
|
java.lang.String |
getUserName()
|
long |
getVersion()
|
void |
serialize(java.io.DataOutputStream out)
Write object fields to the output stream. |
void |
setPassword(java.lang.String password)
|
void |
setSyncUrl(java.lang.String syncUrl)
|
void |
setUserName(java.lang.String userName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
protected static final int VERSION_600
protected static final int VERSION_850
protected static final int VERSION
public java.lang.String syncUrl
public java.lang.String userName
public java.lang.String password
public java.lang.String userAgent
public boolean forceCookies
public DeviceConfig deviceConfig
public java.lang.String lastServerUrl
public boolean compress
public java.lang.String clientNonce
public java.lang.String[] supportedAuthTypes
public java.lang.String preferredAuthType
Constructor Detail |
---|
public SyncConfig()
Method Detail |
---|
public long getVersion()
public void serialize(java.io.DataOutputStream out) throws java.io.IOException
out
- Output stream
java.io.IOException
public void deserialize(java.io.DataInputStream in) throws java.io.IOException
in
- Input stream
java.io.IOException
public boolean allowBasicAuthentication()
public boolean allowMD5Authentication()
public java.lang.String getSyncUrl()
public void setSyncUrl(java.lang.String syncUrl)
public java.lang.String getUserName()
public void setUserName(java.lang.String userName)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public DeviceConfig getDeviceConfig()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |