|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.push.PushConfig
public class PushConfig
This class represents the system push subsystem configuration. The push subsystem is responsible for notifying the client on events that require a synchronization. As of today the JAM supports two push mechanisms: 1) OTA via SMS 2) CTP via socket connection At the moment the configuration is mainly for CTP, but it is intended to incorporate also OTA and STP parameters. The configuration is described in the CTP design document, and this implementation is like that.
Constructor Summary | |
---|---|
PushConfig()
|
Method Summary | |
---|---|
void |
deserialize(java.io.DataInputStream in)
Deserialize this object from the given input stream |
int |
getCtpCmdTimeout()
Returns the ctp command timeout parameter |
int |
getCtpConnTimeout()
Returns the ctp connection timeout parameter |
int |
getCtpMaxRetry()
Returns the ctp max retry parameter |
byte[] |
getCtpNonce()
Returns the ctp nonce |
int |
getCtpNotifyTimeout()
Returns the ctp notify timeout |
java.lang.String |
getCtpPassword()
Returns the ctp password |
int |
getCtpPort()
Returns the ctp server port |
int |
getCtpReady()
Returns the ctp ready period |
int |
getCtpRetry()
Returns the ctp retry parameter |
java.lang.String |
getCtpServer()
Returns the CTP server name |
java.lang.String |
getCtpUsername()
Returns the ctp user name |
java.lang.String |
getDeviceId()
Returns the device id |
boolean |
getQueuePush()
Returns the queuePush parameter |
void |
serialize(java.io.DataOutputStream dout)
Serialize this object to the given output stream. |
void |
setCtpCmdTimeout(int v)
Sets the ctp command timeout parameter |
void |
setCtpConnTimeout(int v)
Sets the ctp connection timeout parameter |
void |
setCtpMaxRetry(int v)
Set the ctp max retry parameter |
void |
setCtpNonce(byte[] ctpNonce)
Sets the ctp nonce |
void |
setCtpNotifyTimeout(int v)
Sets the ctp notify timeout |
void |
setCtpPassword(java.lang.String password)
Sets the ctp password |
void |
setCtpPort(int v)
Sets the ctp server port |
void |
setCtpReady(int v)
Sets the ctp ready period |
void |
setCtpRetry(int v)
Set the ctp retry parameter |
void |
setCtpServer(java.lang.String server)
Sets the CTP server name |
void |
setCtpUsername(java.lang.String username)
Sets the ctp user name |
void |
setDeviceId(java.lang.String deviceId)
Sets the device id |
void |
setQueuePush(boolean v)
Set the queuePush parameter |
java.lang.String |
toString()
Returns a string containing the config details |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PushConfig()
Method Detail |
---|
public void serialize(java.io.DataOutputStream dout) throws java.io.IOException
serialize
in interface Serializable
dout
- the data output stream
java.io.IOException
public void deserialize(java.io.DataInputStream in) throws java.io.IOException
deserialize
in interface Serializable
in
- the data input stream
java.io.IOException
public boolean getQueuePush()
public void setQueuePush(boolean v)
public int getCtpRetry()
public void setCtpRetry(int v)
public int getCtpMaxRetry()
public void setCtpMaxRetry(int v)
public int getCtpCmdTimeout()
public void setCtpCmdTimeout(int v)
public int getCtpConnTimeout()
public void setCtpConnTimeout(int v)
public int getCtpPort()
public void setCtpPort(int v)
public int getCtpReady()
public void setCtpReady(int v)
public byte[] getCtpNonce()
public void setCtpNonce(byte[] ctpNonce)
public int getCtpNotifyTimeout()
public void setCtpNotifyTimeout(int v)
public java.lang.String getCtpUsername()
public void setCtpUsername(java.lang.String username)
public java.lang.String getCtpPassword()
public void setCtpPassword(java.lang.String password)
public java.lang.String getDeviceId()
public void setDeviceId(java.lang.String deviceId)
public java.lang.String getCtpServer()
public void setCtpServer(java.lang.String server)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |