public class FakeRemoteTestModule extends UnicastRemoteObject implements RemoteTestModuleIF
ref| Constructor and Description |
|---|
FakeRemoteTestModule(com.gemstone.gemfire.LogWriter log) |
| Modifier and Type | Method and Description |
|---|---|
void |
disconnectVM() |
MethExecutorResult |
executeMethodOnClass(String className,
String methodName)
Called remotely by the master controller to cause the client to execute
the method on the class.
|
MethExecutorResult |
executeMethodOnClass(String className,
String methodName,
Object[] args)
Executes a given static method in a given class with the given
arguments.
|
MethExecutorResult |
executeMethodOnObject(Object obj,
String methodName)
Called remotely by the master controller to cause the client to execute
the instance method on the object.
|
MethExecutorResult |
executeMethodOnObject(Object obj,
String methodName,
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, unexportObjectgetClientHost, getLog, setLogpublic FakeRemoteTestModule(com.gemstone.gemfire.LogWriter log)
throws RemoteException
RemoteExceptionpublic MethExecutorResult executeMethodOnObject(Object obj, String methodName)
executeMethodOnObject in interface RemoteTestModuleIFobj - the object to execute the method onmethodName - the name of the method to executepublic MethExecutorResult executeMethodOnObject(Object obj, String methodName, Object[] args)
executeMethodOnObject in interface RemoteTestModuleIFpublic MethExecutorResult executeMethodOnClass(String className, String methodName)
executeMethodOnClass in interface RemoteTestModuleIFclassName - the name of the class executemethodName - the name of the method to executepublic MethExecutorResult executeMethodOnClass(String className, String methodName, Object[] args)
executeMethodOnClass in interface RemoteTestModuleIFpublic void executeTask(int tsid,
int type,
int index)
throws RemoteException
executeTask in interface RemoteTestModuleIFRemoteExceptionpublic void runShutdownHook()
throws RemoteException
runShutdownHook in interface RemoteTestModuleIFRemoteExceptionpublic void notifyDynamicActionComplete(int actionId)
throws RemoteException
RemoteTestModuleIFnotifyDynamicActionComplete in interface RemoteTestModuleIFRemoteExceptionpublic void disconnectVM()
throws RemoteException
disconnectVM in interface RemoteTestModuleIFRemoteExceptionpublic void shutDownVM(boolean disconnect,
boolean runShutdownHook)
throws RemoteException
shutDownVM in interface RemoteTestModuleIFRemoteExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.