org.jboss.dtf.testframework.coordinator.resultscollator
Class ResultsReporter

java.lang.Object
  extended by java.lang.Thread
      extended by org.jboss.dtf.testframework.coordinator.resultscollator.ResultsReporter
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
CollatorReporter

public abstract class ResultsReporter
extends java.lang.Thread

This class is used by the TestNodes to communicate test results back to the coordinator once a test has finished.


Nested Class Summary
protected  class ResultsReporter.ResultDefinition
           
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  java.lang.String _ipAddress
           
protected  int _port
           
protected  short _serviceId
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ResultsReporter(java.lang.String ipAddress, int port, short serviceId)
           
 
Method Summary
 void addResults(RunUID runUID, java.lang.String permutationCode, TaskIdInterface taskId, java.lang.String directory, java.lang.String testId, java.lang.String taskName)
           
 void run()
           
 
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
 

Field Detail

_serviceId

protected short _serviceId

_port

protected int _port

_ipAddress

protected java.lang.String _ipAddress
Constructor Detail

ResultsReporter

public ResultsReporter(java.lang.String ipAddress,
                       int port,
                       short serviceId)
                throws java.net.UnknownHostException,
                       java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException
Method Detail

addResults

public void addResults(RunUID runUID,
                       java.lang.String permutationCode,
                       TaskIdInterface taskId,
                       java.lang.String directory,
                       java.lang.String testId,
                       java.lang.String taskName)

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread