AMS_Memory_AMS_set_field_func
Establish a setter function to be used with an AMS Memory field. The function is called when a modify memory request is received from the client (Accessor)
Synopsis
int AMS_Memory_set_field_func(AMS_Memory mem, char *name,
AMS_Language_type lang, ...)
Input parameters
- mem
- the AMS memory object id
- name
- the unique name of the field
- lang
- the language to which the setter function's prototype conforms
- SetterFunc
- pointer to the setter function to be used
Note: The following arguments are need for C++, and
JAVA
- obj
- pointer to setter method's object (the this object in C++)
- env
- environment of object (JAVA)
- obj
- pointer to setter method's object (JAVA)
Location:amspub.c