public class DllCall extends Object
Constructor and Description |
---|
DllCall() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
createAgentDllCall(Class<T> dllInterface,
Desktop desktop)
Returns an object that implements the specified Dll call interface and that will route all calls against the
interface to the Agent where it will load the DLL and execute the calls.
|
static <T> T |
createInProcessDllCall(Class<T> dllInterface,
Desktop desktop)
Returns an object that implements the specified Dll call interface and that will route all calls against the
interface to the AUT where it will load the DLL and execute the calls.
|
static void |
unloadAllDllsFromAgent(Desktop desktop)
Unloads all currently loaded DLLs from the agent.
|
static <T> boolean |
unloadDllFromAgent(Class<T> dll,
Desktop desktop)
Unloads the specified DLL from the agent.
|
public static <T> T createInProcessDllCall(Class<T> dllInterface, Desktop desktop)
T
- the DLL call interface to supportdllInterface
- the DLL call interface to supportdesktop
- the desktoppublic static <T> T createAgentDllCall(Class<T> dllInterface, Desktop desktop)
T
- the DLL call interface to supportdllInterface
- the class of the DLL call interface to supportdesktop
- public static <T> boolean unloadDllFromAgent(Class<T> dll, Desktop desktop)
T
- the DLL type to unloaddll
- the DLL object to unloaddesktop
- public static void unloadAllDllsFromAgent(Desktop desktop)
desktop
- Copyright 2009-2012 Micro Focus. All Rights Reserved.