Class RemoteSampleListenerImpl
- All Implemented Interfaces:
- Serializable,- Remote,- RemoteSampleListener,- SampleListener,- TestStateListener
- See Also:
- 
Field SummaryFields inherited from class java.rmi.server.RemoteObjectref
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.UnicastRemoteObjectclone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObjectMethods inherited from class java.rmi.server.RemoteServergetClientHost, getLog, setLog
- 
Constructor Details- 
RemoteSampleListenerImpl- Throws:
- RemoteException
 
 
- 
- 
Method Details- 
testStartedpublic 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 interface- RemoteSampleListener
- Specified by:
- testStartedin interface- TestStateListener
- See Also:
 
- 
testStartedDescription 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 interface- RemoteSampleListener
- Specified by:
- testStartedin interface- TestStateListener
- Parameters:
- host- name of host
- See Also:
 
- 
testEndedpublic 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 interface- RemoteSampleListener
- Specified by:
- testEndedin interface- TestStateListener
- See Also:
 
- 
testEndedDescription 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 interface- RemoteSampleListener
- Specified by:
- testEndedin interface- TestStateListener
- Parameters:
- host- name of host
- See Also:
 
- 
processBatchThis 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 interface- RemoteSampleListener
- Parameters:
- samples- the list of sample events to be fired locally
 
- 
sampleOccurredDescription copied from interface:RemoteSampleListenerA sample has started and stopped.- Specified by:
- sampleOccurredin interface- RemoteSampleListener
- Specified by:
- sampleOccurredin interface- SampleListener
- Parameters:
- e- the event with data about the completed sample
 
- 
sampleStartedA sample has started.- Specified by:
- sampleStartedin interface- RemoteSampleListener
- Specified by:
- sampleStartedin interface- SampleListener
- Parameters:
- e- the event with data about the started sample
 
- 
sampleStoppedA sample has stopped.- Specified by:
- sampleStoppedin interface- RemoteSampleListener
- Specified by:
- sampleStoppedin interface- SampleListener
- Parameters:
- e- the event with data about the stopped sample
 
 
-