Apache JMeter

org.apache.jmeter.threads
Class ListenerNotifier

java.lang.Object
  extended by org.apache.jmeter.threads.ListenerNotifier

public class ListenerNotifier
extends Object

Processes sample events. The current implementation processes events in the calling thread using notifyListeners(SampleEvent, List) The other code is not used currently, so is commented out.


Constructor Summary
ListenerNotifier()
           
 
Method Summary
 void notifyListeners(SampleEvent res, List<SampleListener> listeners)
          Notify a list of listeners that a sample has occurred.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerNotifier

public ListenerNotifier()
Method Detail

notifyListeners

public void notifyListeners(SampleEvent res,
                            List<SampleListener> listeners)
Notify a list of listeners that a sample has occurred.

Parameters:
res - the sample event that has occurred. Must be non-null.
listeners - a list of the listeners which should be notified. This list must not be null and must contain only SampleListener elements.

Apache JMeter

Copyright © 1998-2014 Apache Software Foundation. All Rights Reserved.