Package org.apache.jmeter.engine
Class RemoteJMeterEngineImpl
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- org.apache.jmeter.engine.RemoteJMeterEngineImpl
-
- All Implemented Interfaces:
Serializable,Remote,RemoteJMeterEngine
public final class RemoteJMeterEngineImpl extends UnicastRemoteObject implements RemoteJMeterEngine
This is the JMeter server main code.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrconfigure(HashTree testTree, String host, File jmxBase, String scriptName)Adds a feature to the ThreadGroup attribute of the RemoteJMeterEngineImpl object.voidrexit()voidrreset()voidrrunTest()voidrsetProperties(Properties p)voidrstopTest(boolean now)static voidstartServer(int rmiPort)-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
-
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
-
-
-
Method Detail
-
startServer
public static void startServer(int rmiPort) throws RemoteException- Throws:
RemoteException
-
rconfigure
public void rconfigure(HashTree testTree, String host, File jmxBase, String scriptName) throws RemoteException
Adds a feature to the ThreadGroup attribute of the RemoteJMeterEngineImpl object.- Specified by:
rconfigurein interfaceRemoteJMeterEngine- Parameters:
testTree- the feature to be added to the ThreadGroup attribute- Throws:
RemoteException
-
rrunTest
public void rrunTest() throws RemoteException, JMeterEngineException, IllegalStateException- Specified by:
rrunTestin interfaceRemoteJMeterEngine- Throws:
RemoteExceptionJMeterEngineExceptionIllegalStateException
-
rreset
public void rreset() throws RemoteException, IllegalStateException- Specified by:
rresetin interfaceRemoteJMeterEngine- Throws:
RemoteExceptionIllegalStateException
-
rstopTest
public void rstopTest(boolean now) throws RemoteException- Specified by:
rstopTestin interfaceRemoteJMeterEngine- Throws:
RemoteException
-
rexit
public void rexit() throws RemoteException- Specified by:
rexitin interfaceRemoteJMeterEngine- Throws:
RemoteException
-
rsetProperties
public void rsetProperties(Properties p) throws RemoteException, IllegalStateException
- Specified by:
rsetPropertiesin interfaceRemoteJMeterEngine- Throws:
RemoteExceptionIllegalStateException
-
-