xmlBlaster 2.2.0 client API

org.xmlBlaster.client.protocol.socket
Class WorkerThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.xmlBlaster.client.protocol.socket.WorkerThread
All Implemented Interfaces:
java.lang.Runnable

public class WorkerThread
extends java.lang.Thread

Takes a received messages and invokes the desired action.

Usually this is an update() or probably a ping()


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
WorkerThread(Global glob, SocketCallbackImpl cbHandler, MsgInfo receiver)
          Creates the thread.
 
Method Summary
 void run()
          Starts the thread which calls update() into client code.
 
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

WorkerThread

public WorkerThread(Global glob,
                    SocketCallbackImpl cbHandler,
                    MsgInfo receiver)
Creates the thread.

Method Detail

run

public void run()
Starts the thread which calls update() into client code.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

xmlBlaster 2.2.0 client API

Copyright © 1999-2014 The xmlBlaster.org contributers.