Apache JMeter

org.apache.jmeter.engine
Class RemoteJMeterEngineImpl

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

public class RemoteJMeterEngineImpl
extends 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
 
Constructor Summary
RemoteJMeterEngineImpl()
           
RemoteJMeterEngineImpl(int port)
           
 
Method Summary
 void configure(HashTree testTree)
          Adds a feature to the ThreadGroup attribute of the RemoteJMeterEngineImpl object.
 void exit()
           
 void reset()
           
 void runTest()
           
 void setHost(String host)
           
 void setProperties(Properties p)
           
 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
Constructor Detail

RemoteJMeterEngineImpl

public RemoteJMeterEngineImpl()
                       throws RemoteException

RemoteJMeterEngineImpl

public RemoteJMeterEngineImpl(int port)
                       throws RemoteException
Method Detail

setHost

public void setHost(String host)
Specified by:
setHost in interface RemoteJMeterEngine

configure

public void configure(HashTree testTree)
               throws 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:
RemoteException

runTest

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

reset

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

stopTest

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

exit

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

setProperties

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

Apache JMeter

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