public class BGSyncMsg
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
AGENT_ERROR
Identifier for message id "AGENT_ERROR".
|
static int |
AGENT_STARTED
Identifier for message id "AGENT_STARTED".
|
static int |
AGENT_STOPPED
Identifier for message id "AGENT_STOPPED".
|
static int |
APPLY_FAILED
Identifier for message id "APPLY_FAILED".
|
static int |
APPLY_STARTED
Identifier for message id "APPLY_STARTED".
|
static int |
APPLY_SUCCEEDED
Identifier for message id "APPLY_SUCCEEDED".
|
static int |
BATTERY_LOW
Identifier for message id "BATTERY_LOW".
|
static int |
ERROR
Identifier for message type "ERROR"
|
int |
id
Message id.
|
static int |
INFO
Identifier for message type "INFO"
|
static int |
MEMORY_LOW
Identifier for message id "MEMORY_LOW".
|
java.lang.String |
msg
Optional message string.
|
static int |
NETWORK_CHANGED
Identifier for message id "NETWORK_CHANGED".
|
static int |
SVR_NOTIF
Identifier for message id "SVR_NOTIF".
|
static int |
SYNC_FAILED
Identifier for message id "SYNC_FAILED".
|
static int |
SYNC_STARTED
Identifier for message id "SYNC_STARTED".
|
static int |
SYNC_SUCCEEDED
Identifier for message id "SYNC_SUCCEEDED".
|
int |
type
Message type.
|
static int |
WARNING
Identifier for message type "WARNING"
|
Constructor and Description |
---|
BGSyncMsg() |
public static final int AGENT_ERROR
msg
field will contain
the actual error message. Examples would be failure to load a rule, failure
to process server notification, failure to evaluate system power, etc. Those
errors are usually not fatal, that is the sync agent will continue running.
Fatal errors will be written to a file ("olSyncAgent.err")public static final int AGENT_STARTED
public static final int AGENT_STOPPED
public static final int APPLY_FAILED
msg
field will contain the actual error message.public static final int APPLY_STARTED
public static final int APPLY_SUCCEEDED
public static final int BATTERY_LOW
public static final int ERROR
public int id
public static final int INFO
public static final int MEMORY_LOW
public java.lang.String msg
public static final int NETWORK_CHANGED
msg
field will names of previous and current
networks. Either of those can be "NONE" meaning the network was gained/lost.public static final int SVR_NOTIF
msg
field will contiain information
about the server notification, such as publication name, number of
modified records and the record priority (high priority or normal).public static final int SYNC_FAILED
msg
field will contain the actual error message.public static final int SYNC_STARTED
public static final int SYNC_SUCCEEDED
public int type
public static final int WARNING