org.jboss.dtf.testframework.coordinator2
Class TaskDataHandler
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.jboss.dtf.testframework.coordinator2.TaskDataHandler
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, TaskResultListener
public class TaskDataHandler
- extends java.rmi.server.UnicastRemoteObject
- implements TaskResultListener
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
_testManager
protected TestManager _testManager
_task
protected TaskDefinition _task
_test
protected TestDefinition _test
_taskPermutationCode
protected java.lang.String _taskPermutationCode
TaskDataHandler
public TaskDataHandler(TestManager testManager,
TestDefinition test,
TaskDefinition task,
java.lang.String taskPermutationCode)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
taskReturnedData
public void taskReturnedData(TaskIdInterface taskId,
java.lang.String data)
throws java.rmi.RemoteException
- This method is invoked when a line of test is outputted from the task.
- Specified by:
taskReturnedData
in interface TaskResultListener
- Parameters:
taskId
- The task id. of the task that returned data.data
- The information outputted from the task.
- Throws:
java.rmi.RemoteException
- Thrown by the underlying RMI code.
taskFinished
public void taskFinished(TaskIdInterface taskId,
TestNodeInterface testNode,
java.lang.String testPermutation,
boolean taskStartedSuccessfully)
throws java.rmi.RemoteException,
NoSuchTaskId
- This method is invoked when the task finishes.
- Specified by:
taskFinished
in interface TaskResultListener
- Parameters:
taskId
- The task Id. of the task that finished.
- Throws:
java.rmi.RemoteException
NoSuchTaskId
taskSignalledReady
public void taskSignalledReady(TaskIdInterface taskId,
TestNodeInterface testNode,
java.lang.String testPermutationCode)
throws java.rmi.RemoteException
- This method is invoked when the task signals Ready.
- Specified by:
taskSignalledReady
in interface TaskResultListener
- Parameters:
taskId
- The task Id. of the task that signals Ready.
- Throws:
java.rmi.RemoteException
taskHasTimedout
public void taskHasTimedout(TaskIdInterface taskId,
TestNodeInterface testNode,
java.lang.String testPermutation)
throws java.rmi.RemoteException
- Specified by:
taskHasTimedout
in interface TaskResultListener
- Throws:
java.rmi.RemoteException