OEM User's Guide

OEM External Specification
OEM User’s Guide520330-001
A-57
OEM Callback API (Adapter to OEM)
RefreshObjects
The RefreshObjects method causes the OEM Server to repopulate the requesting adapter
with all object information. This method can be used by an adapter to ensure that its
object information is synchronized with that of the OEM Server.
Parameters
None
Return Value
0 if the OEM Server has accepted and handled the message
Non-zero if the OEM Server cannot or will not process the message
Considerations
The OEM Server queues the request from the adapter and replies immediately; this is
necessary to prevent potential deadlocks. Subsequent queue processing causes the
adapter to receive an object update through the standard Object.Add mechanism.
The OEM Server does not first clear object information from the adapter. The adapter
itself should do this before making the RefreshObjects call.
Example
Dim RC As Integer
' OEMServerCallbackObject was passed in a Popup.Add or
Object.Add call
RC = OEMServerCallbackObject.RefreshObjects
Function RefreshObjects() As Integer