|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.uep.bobclient.listener.PushController
public class PushController
This is the Push Controller. This will manage all the push requests It will perform the push sync action.
Constructor Summary | |
---|---|
PushController()
Constructor |
Method Summary | |
---|---|
void |
acknowledgeNotification(java.lang.String reqID)
Sends an acknowledgement back to the Push Listener that we have processed a notification |
boolean |
getIsInBackgroundSync()
Returns if the controller is in background. |
void |
parsePushRequest(java.lang.String pushRequestStr)
Parses the push request string |
void |
pushSyncApplication(java.lang.String reqID,
java.lang.String packageName,
java.lang.String syncGroup)
Push sync the given sync group under the given package. |
void |
setIsInBackgroundSync(boolean isInBGSync)
Sets if the controller is in background |
void |
syncApplicationsInBackgroundMode(java.lang.String reqID,
java.lang.String packageName,
java.util.Vector syncList)
Background sync the given sync group list under the given package. |
void |
syncApplicationsInBackgroundMode(java.lang.String packageName,
java.util.Vector syncList)
Background sync the given sync group list under the given package. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PushController()
Method Detail |
---|
public void acknowledgeNotification(java.lang.String reqID)
public void parsePushRequest(java.lang.String pushRequestStr)
pushRequestStr
- the push request stringpublic void pushSyncApplication(java.lang.String reqID, java.lang.String packageName, java.lang.String syncGroup)
reqID
- request idpackageName
- package namesyncGroup
- sync group namepublic void syncApplicationsInBackgroundMode(java.lang.String packageName, java.util.Vector syncList)
packageName
- the package namesyncList
- the sync group listpublic void syncApplicationsInBackgroundMode(java.lang.String reqID, java.lang.String packageName, java.util.Vector syncList)
packageName
- the package namesyncList
- the sync group listreqID
- the request idpublic void setIsInBackgroundSync(boolean isInBGSync)
isInBGSync
- public boolean getIsInBackgroundSync()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |