net.flexmojos.oss.test.monitor
Class AsVmPing
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
net.flexmojos.oss.test.AbstractControlledThread
net.flexmojos.oss.test.monitor.AbstractSocketThread
net.flexmojos.oss.test.monitor.AsVmPing
- All Implemented Interfaces:
- Runnable, ControlledThread, org.codehaus.plexus.logging.LogEnabled
@Component(role=AsVmPing.class,
instantiationStrategy="per-lookup")
public class AsVmPing- extends AbstractSocketThread
This class will ping Action Script virtual machine to make sure if the application still running
- Author:
- velo
| 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 |
AsVmPing
public AsVmPing()
handleRequest
protected void handleRequest()
throws SocketTimeoutException,
SocketException,
IOException
- Specified by:
handleRequest in class AbstractSocketThread
- Throws:
SocketTimeoutException
SocketException
IOException
start
public void start(int testControlPort,
int firstConnectionTimeout,
int testTimeout)
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.