/**
Note: This is simplified pseudo code
Look at acdk_java/src/acdk/java/AcdkObject.java
for the real class.
*/
package acdk.java;
public class AcdkObject
{
/**
creates a new Instance of given ACDK class
@param arg1 and argn are placeholder for 0 - 7 arguments
*/
public static AcdkObject(String classname, Object arg1, Object argn);
public static AcdkObject(String classname, Object[] args);
/**
Call a non static method
*/
public Object invoke(String methodname, Object arg1, Object argn);
public Object invoke(String methodname, Object[] args);
/**
Call a static method
*/
static Object invoke_static(String classname, String methodname, Object arg1, Object argn);
static Object invoke_static(String classname, String methodname, Object[] args);
/**
read a non static public member
*/
public Object peek(String fieldname);
/**
read a static public member
*/
public static Object peek_static(String classname, String fieldname);
/**
Writes a non static member
*/
public Object poke(String fieldname, Object newval);
/**
Writes a static member
*/
public static Object poke_static (String classname, String fieldname, Object newval);
/**
Release the underlying ACDK DMI server object
*/
public void dispose();
}
|