Implement the eventTriggered method in the DOFRegistration.Listener
Here we implement the DOFRegistration.Listener interface.
How It Works
The DOFRegistration.Listener is implemented by a requestor to receive notifications when events are triggered or the state of a DOFRegistration changes.