When your application starts, it can register database and MBO callback listeners.
Callback handler and listener interfaces are provided so your application can monitor changes and notifications from Sybase Unwired Platform:
- The SUPApplicationCallback class is used for monitoring changes to
application settings, messaging connection status, and application registration
status.
- The SUPCallbackHandler interface is used to monitor notifications and changes
related to the database. Register callback handlers at the package level use the
registerCallbackHandler method in the generated database
class. To register for a particular MBO, use the
registerCallbackHandler method in the generated MBO
class.