com.funambol.syncclient.spds.event
Class SyncSourceEvent

java.lang.Object
  extended by 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
 
Method Summary
 java.util.Date getDate()
           
 java.lang.String getSourceUri()
           
 int getSyncMode()
           
 int getType()
           
 void setDate(java.util.Date date)
           
 void setSourceUri(java.lang.String sourceUri)
           
 void setSyncMode(int syncMode)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SyncSourceEvent

public SyncSourceEvent(int type,
                       java.lang.String sourceUri,
                       int syncMode,
                       long date)
Creates a SyncSourceEvent

Parameters:
type - the event type
sourceUri - the uri of the syncsource
syncMode - the type of the performed sync
date - the date and time of the start or the end of the sync
Method Detail

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.