BBjEnterpriseNamespace::setCallbackForNamespaceChange
Description
In BBj 13.0 and higher, this method sets a callback that will be called if any Named Object within this BBjEnterpriseNamespace is changed.
Syntax
Return Value |
Method |
---|---|
void |
setCallbackForNamespaceChange(string callbackName) |
void |
setCallbackForNamespaceChange(UserObject userObj, string methodName) |
Parameters
Variable |
Description |
---|---|
callbackName |
Specifies the name of the callback. |
methodName |
Specifies the method of userObj which is to be called. |
userObj |
Specifies a UserObject that has a method which is to be called when value changes. |
Return Value
None.
Remarks
All callbacks that a program registered on a BBjEnterpriseNamespace are removed when that program executes START, STOP, END, or BEGIN. All callbacks registered by a BBj process are removed when the BBj process terminates.
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.