Class RemoteSampleListenerImpl
- All Implemented Interfaces:
Serializable,Remote,RemoteSampleListener,SampleListener,TestStateListener
- See Also:
-
Field Summary
Fields inherited from class java.rmi.server.RemoteObject
ref -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessBatch(List<SampleEvent> samples) This method is called remotely and fires a list of samples events received locally.voidA sample has started and stopped.voidA sample has started.voidA sample has stopped.voidCalled once for all threads after the end of a test.voidCalled once for all threads after the end of a test.voidCalled just before the start of the test from the main engine thread.voidtestStarted(String host) Called just before the start of the test from the main engine thread.Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObjectMethods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
Constructor Details
-
RemoteSampleListenerImpl
- Throws:
RemoteException
-
-
Method Details
-
testStarted
public void testStarted()Description copied from interface:TestStateListenerCalled just before the start of the test from the main engine thread. This is before the test elements are cloned. Note that not all the test variables will have been set up at this point.
N.B. testStarted() and testEnded() are called from different threads.
- Specified by:
testStartedin interfaceRemoteSampleListener- Specified by:
testStartedin interfaceTestStateListener- See Also:
-
testStarted
Description copied from interface:TestStateListenerCalled just before the start of the test from the main engine thread. This is before the test elements are cloned. Note that not all the test variables will have been set up at this point.
N.B. testStarted() and testEnded() are called from different threads.
- Specified by:
testStartedin interfaceRemoteSampleListener- Specified by:
testStartedin interfaceTestStateListener- Parameters:
host- name of host- See Also:
-
testEnded
public void testEnded()Description copied from interface:TestStateListenerCalled once for all threads after the end of a test. This will use the same element instances as at the start of the test.
N.B. testStarted() and testEnded() are called from different threads.
- Specified by:
testEndedin interfaceRemoteSampleListener- Specified by:
testEndedin interfaceTestStateListener- See Also:
-
testEnded
Description copied from interface:TestStateListenerCalled once for all threads after the end of a test. This will use the same element instances as at the start of the test.
N.B. testStarted() and testEnded() are called from different threads.
- Specified by:
testEndedin interfaceRemoteSampleListener- Specified by:
testEndedin interfaceTestStateListener- Parameters:
host- name of host- See Also:
-
processBatch
This method is called remotely and fires a list of samples events received locally. The function is to reduce network load when using remote testing.- Specified by:
processBatchin interfaceRemoteSampleListener- Parameters:
samples- the list of sample events to be fired locally
-
sampleOccurred
Description copied from interface:RemoteSampleListenerA sample has started and stopped.- Specified by:
sampleOccurredin interfaceRemoteSampleListener- Specified by:
sampleOccurredin interfaceSampleListener- Parameters:
e- the event with data about the completed sample
-
sampleStarted
A sample has started.- Specified by:
sampleStartedin interfaceRemoteSampleListener- Specified by:
sampleStartedin interfaceSampleListener- Parameters:
e- the event with data about the started sample
-
sampleStopped
A sample has stopped.- Specified by:
sampleStoppedin interfaceRemoteSampleListener- Specified by:
sampleStoppedin interfaceSampleListener- Parameters:
e- the event with data about the stopped sample
-