net.flexmojos.oss.test.monitor
Class ResultHandler
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
net.flexmojos.oss.test.AbstractControlledThread
net.flexmojos.oss.test.monitor.AbstractSocketThread
net.flexmojos.oss.test.monitor.ResultHandler
- All Implemented Interfaces:
- Runnable, ControlledThread, org.codehaus.plexus.logging.LogEnabled
@Component(role=ResultHandler.class,
instantiationStrategy="per-lookup")
public class ResultHandler- extends AbstractSocketThread
- implements ControlledThread
Create a server socket for receiving the test reports from FlexUnit. We read the test reports inside of a Thread.
| Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROLE
public static final String ROLE
testReportData
protected List<String> testReportData
ResultHandler
public ResultHandler()
getTestReportData
public List<String> getTestReportData()
handleRequest
protected void handleRequest()
throws SocketException,
IOException
- Specified by:
handleRequest in class AbstractSocketThread
- Throws:
SocketException
IOException
start
public void start(int testPort)
reset
protected void reset()
- Overrides:
reset in class AbstractSocketThread
getTestPort
protected int getTestPort()
- Specified by:
getTestPort in class AbstractSocketThread
getFirstConnectionTimeout
protected int getFirstConnectionTimeout()
- Specified by:
getFirstConnectionTimeout in class AbstractSocketThread
Copyright © 2008–2014 flexmojos. All rights reserved.