AI-generated Key Takeaways
-
DriverContext.DriverStatusListeneris an interface for receiving status updates, including the cause of any error logs. -
It includes nested enums
StatusCodeandStatusLevelfor categorizing status updates. -
The
updateStatusmethod is called when a status update occurs, providing the severity level, status code, message, and potential cause.
Listener for status updates with the capability of getting the cause of an error log.
Nested Class Summary
| enum | DriverContext.DriverStatusListener.StatusCode | The status codes of the status update. | |
| enum | DriverContext.DriverStatusListener.StatusLevel | The severity levels of the status update. | |
Public Method Summary
| abstract void |
updateStatus(DriverContext.DriverStatusListener.StatusLevel
statusLevel,
DriverContext.DriverStatusListener.StatusCode statusCode, String statusMsg,
Throwable cause)
Called when there are status updates.
|
Public Methods
public abstract void updateStatus (DriverContext.DriverStatusListener.StatusLevel statusLevel, DriverContext.DriverStatusListener.StatusCode statusCode, String statusMsg, Throwable cause)
Called when there are status updates.
Parameters
| statusLevel | The severity of the status message. |
|---|---|
| statusCode | The status code. |
| statusMsg | A description of the status. |
| cause | Throwable
object which represents the cause of the status update. |