|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncclient.spds.event.SyncTransportEvent
public class SyncTransportEvent
Is used to notify the listeners of the sending of data to the server and of the reception of data from the server.
Field Summary | |
---|---|
static int |
DATA_RECEIVED
Engine is receiving data from the server |
static int |
RECEIVE_DATA_BEGIN
Engine started to receive data from the server |
static int |
RECEIVE_DATA_END
Engine has received all data from the server |
static int |
SEND_DATA_BEGIN
Engine started to send data to the server |
static int |
SEND_DATA_END
Engine has sent all data to the server |
Constructor Summary | |
---|---|
SyncTransportEvent(int type,
int data)
Creates a SyncTransportEvent |
Method Summary | |
---|---|
int |
getData()
|
int |
getType()
|
void |
setData(int data)
|
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 SEND_DATA_BEGIN
public static final int SEND_DATA_END
public static final int RECEIVE_DATA_BEGIN
public static final int DATA_RECEIVED
public static final int RECEIVE_DATA_END
Constructor Detail |
---|
public SyncTransportEvent(int type, int data)
type
- the event typedata
- the data lengthMethod Detail |
---|
public int getData()
public int getType()
public void setData(int data)
public void setType(int type)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |