Apache JMeter
2.0.1.20050615

org.apache.jmeter.samplers
Class RemoteSampleListenerImpl

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended byorg.apache.jmeter.samplers.RemoteSampleListenerImpl
All Implemented Interfaces:
Remote, RemoteSampleListener, SampleListener, Serializable, TestListener

public class RemoteSampleListenerImpl
extends UnicastRemoteObject
implements RemoteSampleListener, SampleListener, TestListener

Version:
$Revision: 1.7 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RemoteSampleListenerImpl()
           
RemoteSampleListenerImpl(Object listener)
           
 
Method Summary
 void sampleOccurred(SampleEvent e)
          A sample has started and stopped.
 void sampleStarted(SampleEvent e)
          A sample has started.
 void sampleStopped(SampleEvent e)
          A sample has stopped.
 void setListener(Object listener)
           
 void testEnded()
          Called once for all threads after the end of a test
 void testEnded(String host)
           
 void testIterationStart(LoopIterationEvent event)
          Each time through a Thread Group's test script, an iteration event is fired.
 void testStarted()
          Called just before the start of the test Note that not all the test variables will have been set up at this point.
 void testStarted(String host)
           
 
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
 

Constructor Detail

RemoteSampleListenerImpl

public RemoteSampleListenerImpl()
                         throws RemoteException

RemoteSampleListenerImpl

public RemoteSampleListenerImpl(Object listener)
                         throws RemoteException
Method Detail

setListener

public void setListener(Object listener)

testStarted

public void testStarted()
Description copied from interface: TestListener
Called just before the start of the test Note that not all the test variables will have been set up at this point.

Specified by:
testStarted in interface RemoteSampleListener

testStarted

public void testStarted(String host)
Specified by:
testStarted in interface RemoteSampleListener

testEnded

public void testEnded()
Description copied from interface: TestListener
Called once for all threads after the end of a test

Specified by:
testEnded in interface RemoteSampleListener

testEnded

public void testEnded(String host)
Specified by:
testEnded in interface RemoteSampleListener

sampleOccurred

public void sampleOccurred(SampleEvent e)
Description copied from interface: RemoteSampleListener
A sample has started and stopped.

Specified by:
sampleOccurred in interface RemoteSampleListener

sampleStarted

public void sampleStarted(SampleEvent e)
A sample has started.

Specified by:
sampleStarted in interface RemoteSampleListener

sampleStopped

public void sampleStopped(SampleEvent e)
A sample has stopped.

Specified by:
sampleStopped in interface RemoteSampleListener

testIterationStart

public void testIterationStart(LoopIterationEvent event)
Description copied from interface: TestListener
Each time through a Thread Group's test script, an iteration event is fired.

Specified by:
testIterationStart in interface TestListener
Parameters:
event -

Apache JMeter
2.0.1.20050615

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