|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
es.cesar.quitesleep.syncData.SyncContactsNew
public class SyncContactsNew
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
SyncContactsNew(Context context,
SyncContactsDialog syncDialog,
Handler handler)
Constructor with all the three obligatory params for run the synchronization use for the first time running the application (empty db4o database contacts data) or for any other synchronization. |
Method Summary | |
---|---|
Handler |
getHandler()
|
int |
getInsertContact()
|
SyncContactsDialog |
getSyncDialog()
|
void |
run()
Start the thread with the specified operations |
void |
setHandler(Handler handler)
|
void |
setInsertContact(int insertContact)
|
void |
setSyncDialog(SyncContactsDialog syncDialog)
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SyncContactsNew(Context context, SyncContactsDialog syncDialog, Handler handler)
context
- syncDialog
- handler
- Method Detail |
---|
public int getInsertContact()
public void setInsertContact(int insertContact)
public SyncContactsDialog getSyncDialog()
public void setSyncDialog(SyncContactsDialog syncDialog)
public Handler getHandler()
public void setHandler(Handler handler)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |