Build 1.0_r1(from source)

android.webkit
Class WebSyncManager

java.lang.Object
  extended by android.webkit.WebSyncManager
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
CookieSyncManager

abstract class WebSyncManager
extends Object
implements Runnable


Field Summary
protected static String LOGTAG
           
protected  WebViewDatabase mDataBase
           
protected  Handler mHandler
           
 
Constructor Summary
protected WebSyncManager(Context context, String name)
           
 
Method Summary
protected  Object clone()
          Returns a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.
protected  void onSyncInit()
           
 void resetSync()
          resetSync() resets sync manager's timer
 void run()
          Begin doing the active part of the class' code.
 void startSync()
          startSync() requests sync manager to start sync
 void stopSync()
          stopSync() requests sync manager to stop sync.
 void sync()
          sync() forces sync manager to sync now
(package private) abstract  void syncFromRamToFlash()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mHandler

protected Handler mHandler

mDataBase

protected WebViewDatabase mDataBase

LOGTAG

protected static final String LOGTAG
See Also:
Constant Field Values
Constructor Detail

WebSyncManager

protected WebSyncManager(Context context,
                         String name)
Method Detail

clone

protected Object clone()
                throws CloneNotSupportedException
Description copied from class: Object
Returns a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.

Classes which wish to support cloning must specify that they implement the Cloneable interface, since the implementation checks for this.

Overrides:
clone in class Object
Returns:
Object a shallow copy of this object.
Throws:
CloneNotSupportedException - if the receiver's class does not implement the interface Cloneable.

run

public void run()
Description copied from interface: Runnable
Begin doing the active part of the class' code.

Specified by:
run in interface Runnable

sync

public void sync()
sync() forces sync manager to sync now


resetSync

public void resetSync()
resetSync() resets sync manager's timer


startSync

public void startSync()
startSync() requests sync manager to start sync


stopSync

public void stopSync()
stopSync() requests sync manager to stop sync. remove any SYNC_MESSAGE in the queue to break the sync loop


onSyncInit

protected void onSyncInit()

syncFromRamToFlash

abstract void syncFromRamToFlash()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature