public static interface DOFSystem.RouteListener
Modifier and Type | Method and Description |
---|---|
void |
removed(DOFSystem system,
DOFException exception)
This method is called when this listener is removed from the DOFSystem.
|
void |
routeStatus(DOFSystem system,
DOFRouteInfo routeInfo,
DOFRouteInfo.State reason)
This method is called when a route changes in the system (a Provide PDU is received).
|
void routeStatus(DOFSystem system, DOFRouteInfo routeInfo, DOFRouteInfo.State reason)
system
- The system that the listener was added on. This will never be null.routeInfo
- Information about the route to the provider. This will never be null.reason
- The reason for the update. This will never be null.void removed(DOFSystem system, DOFException exception)
system
- The system where this listener was added. This will never be null.exception
- The exception that caused this listener to be removed, null means it was removed normally.