Sun Java System Mobile Enterprise Platform 1.0 Developer's Guide for Client Applications

The SyncResults Class

Table 4–9 lists the methods belonging to the SyncResults class. This class contains coarse-grained statistics about the most recent synchronization (additions, deletions, and modifications).

Table 4–9 Class com.sun.mep.client.api.SyncResults

Method 

Description 

public int getClientAdditions()

Returns the number of records added on the client and sent to the server. 

public int getClientDeletions()

Returns the number of records deleted on the client and sent to the server. 

public int getClientUpdates()

Returns the number of records updated on the client and sent to the server. 

public int getServerAdditions()

Returns the number of records added on the server and sent to the client. 

public int getServerDeletions()

Returns the number of records deleted on the server and sent to the client. 

public int getServerUpdates()

Returns the number of records updated on the server and sent to the client.