org.testng.remote.strprotocol
Class AbstractRemoteTestRunnerClient

java.lang.Object  extended by org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient

public abstract class AbstractRemoteTestRunnerClient
extends Object

The client side of the RemoteTestRunner. Handles the marshaling of the different messages.


Nested Class Summary
 classAbstractRemoteTestRunnerClient.ServerConnection
          Reads the message stream from the RemoteTestRunner
 
Field Summary
protected  IRemoteSuiteListener[]m_suiteListeners
          An array of listeners that are informed about test events.
protected  IRemoteTestListener[]m_testListeners
           
 
Constructor Summary
AbstractRemoteTestRunnerClient()
           
 
Method Summary
 IRemoteSuiteListener[]getSuiteListeners()
           
 IRemoteTestListener[]getTestListeners()
           
 booleanisRunning()
           
protected abstract  voidnotifyResultEvents(TestResultMessage testResultMessage)
           
protected abstract  voidnotifyStart(GenericMessage genericMessage)
           
protected abstract  voidnotifySuiteEvents(SuiteMessage suiteMessage)
           
protected abstract  voidnotifyTestEvents(TestMessage testMessage)
           
 voidstartListening(IRemoteSuiteListener[] suiteListeners, IRemoteTestListener[] testListeners, AbstractRemoteTestRunnerClient.ServerConnection serverConnection)
          Start listening to a test run.
 voidstopTest()
          Requests to stop the remote test run.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_suiteListeners

protected IRemoteSuiteListener[] m_suiteListeners
An array of listeners that are informed about test events.


m_testListeners

protected IRemoteTestListener[] m_testListeners
Constructor Detail

AbstractRemoteTestRunnerClient

public AbstractRemoteTestRunnerClient()
Method Detail

startListening

public void startListening(IRemoteSuiteListener[] suiteListeners,                           IRemoteTestListener[] testListeners,                           AbstractRemoteTestRunnerClient.ServerConnection serverConnection)
Start listening to a test run. Start a server connection that the RemoteTestRunner can connect to.


getSuiteListeners

public IRemoteSuiteListener[] getSuiteListeners()

getTestListeners

public IRemoteTestListener[] getTestListeners()

isRunning

public boolean isRunning()

stopTest

public void stopTest()
Requests to stop the remote test run.


notifyStart

protected abstract void notifyStart(GenericMessage genericMessage)

notifySuiteEvents

protected abstract void notifySuiteEvents(SuiteMessage suiteMessage)

notifyTestEvents

protected abstract void notifyTestEvents(TestMessage testMessage)

notifyResultEvents

protected abstract void notifyResultEvents(TestResultMessage testResultMessage)


Copyright © 2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14