Apache JMeter

org.apache.jmeter.engine
Class RemoteJMeterEngineImpl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.apache.jmeter.engine.RemoteJMeterEngineImpl
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, RemoteJMeterEngine

public class RemoteJMeterEngineImpl
extends java.rmi.server.UnicastRemoteObject
implements RemoteJMeterEngine

This is the JMeter server main code.

See Also:
Serialized Form

Field Summary
static int DEFAULT_RMI_PORT
           
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Method Summary
 void configure(HashTree testTree, java.lang.String host)
          Adds a feature to the ThreadGroup attribute of the RemoteJMeterEngineImpl object.
 void exit()
           
 void reset()
           
 void runTest()
           
 void setProperties(java.util.Properties p)
           
static void startServer(int port)
           
 void stopTest()
           
 
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
 

Field Detail

DEFAULT_RMI_PORT

public static final int DEFAULT_RMI_PORT
Method Detail

startServer

public static void startServer(int port)
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

configure

public void configure(HashTree testTree,
                      java.lang.String host)
               throws java.rmi.RemoteException
Adds a feature to the ThreadGroup attribute of the RemoteJMeterEngineImpl object.

Specified by:
configure in interface RemoteJMeterEngine
Parameters:
testTree - the feature to be added to the ThreadGroup attribute
Throws:
java.rmi.RemoteException

runTest

public void runTest()
             throws java.rmi.RemoteException,
                    JMeterEngineException
Specified by:
runTest in interface RemoteJMeterEngine
Throws:
java.rmi.RemoteException
JMeterEngineException

reset

public void reset()
           throws java.rmi.RemoteException
Specified by:
reset in interface RemoteJMeterEngine
Throws:
java.rmi.RemoteException

stopTest

public void stopTest()
              throws java.rmi.RemoteException
Specified by:
stopTest in interface RemoteJMeterEngine
Throws:
java.rmi.RemoteException

exit

public void exit()
          throws java.rmi.RemoteException
Specified by:
exit in interface RemoteJMeterEngine
Throws:
java.rmi.RemoteException

setProperties

public void setProperties(java.util.Properties p)
                   throws java.rmi.RemoteException
Specified by:
setProperties in interface RemoteJMeterEngine
Throws:
java.rmi.RemoteException

Apache JMeter

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