com.seag.qm
Class ExecuteQuery

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.seag.qm.ExecuteQuery
All Implemented Interfaces:
java.lang.Runnable

public class ExecuteQuery
extends java.lang.Thread

The execution part of the QueryManager (qm)


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ExecuteQuery(SqlQueue queue, ResultQueue result, QueryErrorQueue error, java.sql.Connection con, java.lang.String name, java.util.Properties p)
          Creates new ExecuteQuery
 
Method Summary
 void addQueryEventListener(QueryEventListener listener)
          Adding a QueryListener
 void removeQueryEventListener(QueryEventListener listener)
          Removing a QueryListener
 void run()
          Run- Method of the Thread
 void setThread(int thread)
          Setting the threadidentifier
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, 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
 

Constructor Detail

ExecuteQuery

public ExecuteQuery(SqlQueue queue,
                    ResultQueue result,
                    QueryErrorQueue error,
                    java.sql.Connection con,
                    java.lang.String name,
                    java.util.Properties p)
Creates new ExecuteQuery
Method Detail

run

public void run()
Run- Method of the Thread
Overrides:
run in class java.lang.Thread

addQueryEventListener

public void addQueryEventListener(QueryEventListener listener)
Adding a QueryListener
Parameters:
listener - QueryEventListener

removeQueryEventListener

public void removeQueryEventListener(QueryEventListener listener)
Removing a QueryListener
Parameters:
listener - QueryEventListener

setThread

public void setThread(int thread)
Setting the threadidentifier
Parameters:
thread - int threadidentifier