OEM User's Guide
OEM External Specification
OEM User’s Guide—520330-001
A-46
Adapter Request API (OEM to Adapter)
SetCallback
Use the SetCallback method to inform an adapter of its OEM callback object. Usually,
the adapter receives this object as part of an Object.Add or Popup.Add call. When the
OEM Server must pass a callback object to an adapter outside the scope of either of
these functions, however, SetCallback is used.
Parameters
CallbackObject (input)
is the OEM Server’s instantiated callback object. The adapter uses this object to pass
command information from the framework back to the OEM Server.
Return Value
None
Considerations
Because the OEM might need to update a callback object reference at any time, each
adapter should implement the SetCallback method in addition to handling callback
objects specified as part of a Popup.Add or Object.Add call.
Example
Dim Adapter As New EMAdapterClass
Dim OEMServerCallbackObject As New OEMServerCallbackClass
Adapter.SetCallback OEMServerCallbackObject
Sub SetCallback(CallbackObject As Object)