public class FakeRemoteTestModule extends java.rmi.server.UnicastRemoteObject implements RemoteTestModuleIF
| Constructor and Description |
|---|
FakeRemoteTestModule(com.gemstone.gemfire.LogWriter log) |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnectVM() |
MethExecutorResult |
executeMethodOnClass(java.lang.String className,
java.lang.String methodName)
Called remotely by the master controller to cause the client to execute
the method on the class.
|
MethExecutorResult |
executeMethodOnClass(java.lang.String className,
java.lang.String methodName,
java.lang.Object[] args)
Executes a given static method in a given class with the given
arguments.
|
MethExecutorResult |
executeMethodOnObject(java.lang.Object obj,
java.lang.String methodName)
Called remotely by the master controller to cause the client to execute
the instance method on the object.
|
MethExecutorResult |
executeMethodOnObject(java.lang.Object obj,
java.lang.String methodName,
java.lang.Object[] args)
Executes a given instance method on a given object with the given
arguments.
|
void |
executeTask(int tsid,
int type,
int index) |
void |
notifyDynamicActionComplete(int actionId)
Notifies a client that dynamic action with the specified id is complete.
|
void |
runShutdownHook() |
void |
shutDownVM(boolean disconnect,
boolean runShutdownHook) |
clone, exportObject, exportObject, exportObject, unexportObjectpublic FakeRemoteTestModule(com.gemstone.gemfire.LogWriter log)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic MethExecutorResult executeMethodOnObject(java.lang.Object obj, java.lang.String methodName)
executeMethodOnObject in interface RemoteTestModuleIFobj - the object to execute the method onmethodName - the name of the method to executepublic MethExecutorResult executeMethodOnObject(java.lang.Object obj, java.lang.String methodName, java.lang.Object[] args)
executeMethodOnObject in interface RemoteTestModuleIFpublic MethExecutorResult executeMethodOnClass(java.lang.String className, java.lang.String methodName)
executeMethodOnClass in interface RemoteTestModuleIFclassName - the name of the class executemethodName - the name of the method to executepublic MethExecutorResult executeMethodOnClass(java.lang.String className, java.lang.String methodName, java.lang.Object[] args)
executeMethodOnClass in interface RemoteTestModuleIFpublic void executeTask(int tsid,
int type,
int index)
throws java.rmi.RemoteException
executeTask in interface RemoteTestModuleIFjava.rmi.RemoteExceptionpublic void runShutdownHook()
throws java.rmi.RemoteException
runShutdownHook in interface RemoteTestModuleIFjava.rmi.RemoteExceptionpublic void notifyDynamicActionComplete(int actionId)
throws java.rmi.RemoteException
RemoteTestModuleIFnotifyDynamicActionComplete in interface RemoteTestModuleIFjava.rmi.RemoteExceptionpublic void disconnectVM()
throws java.rmi.RemoteException
disconnectVM in interface RemoteTestModuleIFjava.rmi.RemoteExceptionpublic void shutDownVM(boolean disconnect,
boolean runShutdownHook)
throws java.rmi.RemoteException
shutDownVM in interface RemoteTestModuleIFjava.rmi.RemoteExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.