Use the callback handlers for event notifications.
Use the com.sybase.persistence.CallbackHandler API for event notifications including login for synchronization and replay. If you do not register your own implementation of the com.sybase.persistence.CallbackHandler interface, the generated code will register a new default callback handler.