com.funambol.syncclient.spds.event
Class SyncSourceEvent
java.lang.Object
com.funambol.syncclient.spds.event.SyncSourceEvent
public class SyncSourceEvent
- extends java.lang.Object
Is used to notify the listeners
of the beginning and the end
of the synchronization
of a particolar syncsource.
- Version:
- $Id: SyncSourceEvent.java,v 1.3 2007-12-22 18:09:18 nichele Exp $
Field Summary |
static int |
SYNC_BEGIN
SyncSource Synchronization begin |
static int |
SYNC_END
SyncSource Synchronization end |
Constructor Summary |
SyncSourceEvent(int type,
java.lang.String sourceUri,
int syncMode,
long date)
Creates a SyncSourceEvent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYNC_BEGIN
public static final int SYNC_BEGIN
- SyncSource Synchronization begin
- See Also:
- Constant Field Values
SYNC_END
public static final int SYNC_END
- SyncSource Synchronization end
- See Also:
- Constant Field Values
SyncSourceEvent
public SyncSourceEvent(int type,
java.lang.String sourceUri,
int syncMode,
long date)
- Creates a SyncSourceEvent
- Parameters:
type
- the event typesourceUri
- the uri of the syncsourcesyncMode
- the type of the performed syncdate
- the date and time of the start or the end of the sync
getDate
public java.util.Date getDate()
getSourceUri
public java.lang.String getSourceUri()
getSyncMode
public int getSyncMode()
getType
public int getType()
setDate
public void setDate(java.util.Date date)
setSourceUri
public void setSourceUri(java.lang.String sourceUri)
setSyncMode
public void setSyncMode(int syncMode)
setType
public void setType(int type)
Copyright © 2010 Funambol. All Rights Reserved.