es.javocsoft.android.lib.toucan.client.thread
Class ToucanPostWorker

java.lang.Object
  extended by java.lang.Thread
      extended by es.javocsoft.android.lib.toucan.client.thread.ToucanWorker
          extended by es.javocsoft.android.lib.toucan.client.thread.ToucanPostWorker
All Implemented Interfaces:
Runnable

public class ToucanPostWorker
extends ToucanWorker

POST operation to JavocSoft Toucan Notifications API.

Author:
JavocSoft Team

Nested Class Summary
 
Nested classes/interfaces inherited from class es.javocsoft.android.lib.toucan.client.thread.ToucanWorker
ToucanWorker.TOUCAN_WORKER_POST_DATA_TYPE, ToucanWorker.TOUCAN_WORKER_TYPE
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ToucanPostWorker(android.content.Context context, String apiToken, Object data, ToucanWorker.TOUCAN_WORKER_POST_DATA_TYPE dataType, String endpoint, String opName, ResponseCallback callback)
           
ToucanPostWorker(ToucanWorker tWorker)
           
 
Method Summary
 void doWork()
           
 
Methods inherited from class es.javocsoft.android.lib.toucan.client.thread.ToucanWorker
getJobId, getOperationName, getType, getTypeInt, initData, initializeGETFromJSON, initializePOSTFromJSON, isRunning, run, setContext
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ToucanPostWorker

public ToucanPostWorker(android.content.Context context,
                        String apiToken,
                        Object data,
                        ToucanWorker.TOUCAN_WORKER_POST_DATA_TYPE dataType,
                        String endpoint,
                        String opName,
                        ResponseCallback callback)

ToucanPostWorker

public ToucanPostWorker(ToucanWorker tWorker)
Method Detail

doWork

public void doWork()
Specified by:
doWork in class ToucanWorker


Copyright © 2015-2016 JavocSoft. All Rights Reserved.