|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncclient.spds.event.SyncEvent
public class SyncEvent
Is used to notify the listeners for the principal states.
Field Summary | |
---|---|
static int |
SEND_FINALIZATION
Send finalization message |
static int |
SEND_INITIALIZATION
Send initialization message |
static int |
SEND_MODIFICATION
Send modification message |
static int |
SYNC_BEGIN
The synchronization process start |
static int |
SYNC_END
The synchronization process end |
static int |
SYNC_ERROR
A no blocking error occours |
Constructor Summary | |
---|---|
SyncEvent(int type,
long date)
Creates a SyncEvent |
|
SyncEvent(int type,
long date,
java.lang.String message,
java.lang.Throwable cause)
Creates a SyncEvent |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
|
java.util.Date |
getDate()
|
java.lang.String |
getMessage()
|
int |
getType()
|
void |
setCause(java.lang.Throwable cause)
|
void |
setDate(java.util.Date date)
|
void |
setMessage(java.lang.String message)
|
void |
setType(int type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SYNC_BEGIN
public static final int SYNC_END
public static final int SYNC_ERROR
public static final int SEND_INITIALIZATION
public static final int SEND_MODIFICATION
public static final int SEND_FINALIZATION
Constructor Detail |
---|
public SyncEvent(int type, long date)
type
- the event typedate
- the date and time when the event occourspublic SyncEvent(int type, long date, java.lang.String message, java.lang.Throwable cause)
type
- the event typedate
- the date and time when the event occoursmessage
- only if the event is a SYNC_ERROR, null
otherwisecause
- only if the event is a SYNC_ERROR, null
otherwiseMethod Detail |
---|
public java.lang.Throwable getCause()
public java.util.Date getDate()
public java.lang.String getMessage()
public int getType()
public void setCause(java.lang.Throwable cause)
public void setDate(java.util.Date date)
public void setMessage(java.lang.String message)
public void setType(int type)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |