com.funambol.syncclient.spds.event
Class SyncStatusEvent
java.lang.Object
com.funambol.syncclient.spds.event.SyncStatusEvent
public class SyncStatusEvent
- extends java.lang.Object
Is used to notify the listeners
received a status command.
- Version:
- $Id: SyncStatusEvent.java,v 1.3 2007-12-22 18:09:18 nichele Exp $
Constructor Summary |
SyncStatusEvent(int type,
java.lang.String command,
int statusCode,
SyncItemKey itemKey,
java.lang.String sourceUri)
Creates a SyncStatusEvent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATUS_TO_SEND
public static final int STATUS_TO_SEND
- Create status to send to the server
- See Also:
- Constant Field Values
STATUS_RECEIVED
public static final int STATUS_RECEIVED
- Received status from the server
- See Also:
- Constant Field Values
SyncStatusEvent
public SyncStatusEvent(int type,
java.lang.String command,
int statusCode,
SyncItemKey itemKey,
java.lang.String sourceUri)
- Creates a SyncStatusEvent
- Parameters:
type
- the event typecommand
- the command the status relates tostatusCode
- the status codeitemKey
- the key of the item this status relates tosourceUri
- the uri of the syncsource
getType
public int getType()
getCommand
public java.lang.String getCommand()
getItemKey
public SyncItemKey getItemKey()
getSourceUri
public java.lang.String getSourceUri()
getStatusCode
public int getStatusCode()
setType
public void setType(int type)
setCommand
public void setCommand(java.lang.String command)
setItemKey
public void setItemKey(SyncItemKey itemKey)
setSourceUri
public void setSourceUri(java.lang.String sourceUri)
setStatusCode
public void setStatusCode(int statusCode)
Copyright © 2010 Funambol. All Rights Reserved.