xmlBlaster 1.6.2 API

org.xmlBlaster.client.protocol.socket
Class WorkerThread

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.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()


Field Summary
private  SocketCallbackImpl cbHandler
          The manager class, my creator and my destiny
private static java.util.logging.Logger log
           
private  java.lang.String ME
           
private  MsgInfo parser
          Contains the received message
 
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, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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
 

Field Detail

ME

private final java.lang.String ME

log

private static java.util.logging.Logger log

parser

private final MsgInfo parser
Contains the received message


cbHandler

private final SocketCallbackImpl cbHandler
The manager class, my creator and my destiny

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.


xmlBlaster 1.6.2 API

Copyright © 1999-2007 The xmlBlaster.org contributers.