|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.sap.ip.me.api.sync.SyncEvent
public class SyncEvent
During synchronization different sync events will be fired to indicate the state of synchronization or to trigger activities like data container creation or cleanup.
| Field Summary | |
|---|---|
static int |
LAST_INBOUND_FILE_RECEIVED
Deprecated. Defines the time point when the inbound file for the last user arrives on the client and the device can go offline. |
static int |
SYNC_READY
Deprecated. Defines end of synchronization independent on success or not |
static int |
SYNC_STARTED
Deprecated. Defines start of synchronization |
static int |
SYNC_SUCCESSFUL
Deprecated. Defines successful end of synchronization |
static int |
USER_SYNC_FINISHED
Deprecated. This event will be called after synchronization of all users (including shared user) iff configuration MobileEngine.Sync.AllowUserSyncFinishedEvent is set to
true (by default it is true). |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
SyncEvent(java.lang.Object source,
int type)
Deprecated. Constructor for the SyncEvent object |
|
SyncEvent(java.lang.Object source,
int type,
java.lang.Object parameter)
Deprecated. Constructor for the SyncEvent object |
|
| Method Summary | |
|---|---|
java.lang.Object |
getParameter()
Deprecated. Get parameter object for this sync event |
int |
getType()
Deprecated. Returns the event type type. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int SYNC_STARTED
public static final int SYNC_READY
public static final int SYNC_SUCCESSFUL
public static final int LAST_INBOUND_FILE_RECEIVED
MobileEngine.Sync.RepetitiveSyncEnabled is set to
true (by default it is false)) or if you
use Memory Agents (that means configuration
MobileEngine.Sync.AllowUserSyncFinishedEvent is set to
true (by default it is true)) this
event will not be fired .
public static final int USER_SYNC_FINISHED
MobileEngine.Sync.AllowUserSyncFinishedEvent is set to
true (by default it is true).
| Constructor Detail |
|---|
public SyncEvent(java.lang.Object source,
int type)
source - Description of the Parametertype - Description of the Parameter
public SyncEvent(java.lang.Object source,
int type,
java.lang.Object parameter)
source - Source of this eventtype - sync event type| Method Detail |
|---|
public int getType()
public java.lang.Object getParameter()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||