- FailedConnectionException - Exception in com.digi.wva.exc
-
Indicates that we were unable to connect to the TCP event
channel port on the WVA.
- FailedConnectionException(String, IOException) - Constructor for exception com.digi.wva.exc.FailedConnectionException
-
Indicates that we were unable to connect to the TCP event
channel port on the WVA.
- FAULT_CODE_BASE - Static variable in class com.digi.wva.async.FaultCodeCommon
-
The base URL path for all fault code data in the WVA device web services.
- FaultCodeCommon - Class in com.digi.wva.async
-
Provides a collection of static content and methods pertaining to fault codes.
- FaultCodeCommon() - Constructor for class com.digi.wva.async.FaultCodeCommon
-
- FaultCodeCommon.Bus - Enum in com.digi.wva.async
-
Enumeration of the different CAN buses exposed by the WVA.
- FaultCodeCommon.FaultCodeType - Enum in com.digi.wva.async
-
Enumeration of the different fault code message types.
- FaultCodeEvent - Class in com.digi.wva.async
-
Encapsulation of an event containing fault code data.
- FaultCodeEvent(EventFactory.Type, String, String, DateTime, String, FaultCodeResponse) - Constructor for class com.digi.wva.async.FaultCodeEvent
-
Constructor of a fault code event.
- FaultCodeListener - Class in com.digi.wva.async
-
Provides a callback for handling new fault code information.
- FaultCodeListener() - Constructor for class com.digi.wva.async.FaultCodeListener
-
- FaultCodeResponse - Class in com.digi.wva.async
-
FaultCodeResponse objects encapsulate fault code data.
- FaultCodeResponse(JSONObject) - Constructor for class com.digi.wva.async.FaultCodeResponse
-
Creates a new FaultCodeResponse object from a JSONObject.
- fetchAllEcuElementValues(String, WvaCallback<Pair<String, String>>) - Method in class com.digi.wva.WVA
-
Fetches all endpoints from a single ECU, calling the provided callback's
onResponse method with the data from every endpoint.
- fetchButtonNames(WvaCallback<Set<String>>) - Method in class com.digi.wva.WVA
-
Asynchronously queries the WVA for the list of addressable buttons manageable by web services.
- fetchButtonState(String, WvaCallback<Boolean>) - Method in class com.digi.wva.WVA
-
Asynchronously queries the WVA for the state of the given button.
- fetchEcuElements(String, WvaCallback<Set<String>>) - Method in class com.digi.wva.WVA
-
Asynchronously queries the WVA for the list of data elements describing a specific engine control unit
(ECU) in the vehicle.
- fetchEcuElementValue(String, String, WvaCallback<String>) - Method in class com.digi.wva.WVA
-
Asynchronously queries the WVA for the value of a specific element describing a specific ECU.
- fetchEcus(WvaCallback<Set<String>>) - Method in class com.digi.wva.WVA
-
Asynchronously queries the WVA for the list of addressable ECUs in the vehicle.
- fetchFaultCode(FaultCodeCommon.Bus, FaultCodeCommon.FaultCodeType, String, WvaCallback<FaultCodeResponse>) - Method in class com.digi.wva.WVA
-
Asynchronously queries the WVA for the most recent Diagnostic Trouble Code (DTC) report of
the given type
(active or inactive) on the given CAN bus.
- fetchFaultCodeEcuNames(FaultCodeCommon.Bus, WvaCallback<Set<String>>) - Method in class com.digi.wva.WVA
-
Asynchronously queries the WVA for the list of ECUs that the system knows exist
on the given CAN bus, since they might be providing active or inactive DTC messages.
- fetchLedNames(WvaCallback<Set<String>>) - Method in class com.digi.wva.WVA
-
Asynchronously queries the WVA for the list of addressable LEDs manageable by web services.
- fetchLedState(String, WvaCallback<Boolean>) - Method in class com.digi.wva.WVA
-
Asynchronously queries the WVA for the state of the given LED.
- fetchTime(WvaCallback<DateTime>) - Method in class com.digi.wva.WVA
-
Asynchronously queries the WVA for its current time.
- fetchVehicleData(String, WvaCallback<VehicleDataResponse>) - Method in class com.digi.wva.WVA
-
Asynchronously queries the WVA for the newest data at the given endpoint.
- fetchVehicleDataEndpoints(WvaCallback<Set<String>>) - Method in class com.digi.wva.WVA
-
Asynchronously queries the WVA for vehicle data endpoint names and populates the cache of
same.
- fromString(String) - Static method in enum com.digi.wva.async.AlarmType
-
Takes a string and creates the corresponding AlarmType, or null if the
string does not correspond to an AlarmType.
- fromTCP(JSONObject) - Static method in class com.digi.wva.async.EventFactory
-
This method is the preferred way of creating an event object.
- getBody() - Method in exception com.digi.wva.exc.WvaHttpException
-
Returns the response body which was provided when this
WvaHttpException
was created.
- getBus() - Method in class com.digi.wva.async.FaultCodeEvent
-
Gets the CAN bus that reported this data
- getCachedButtonNames() - Method in class com.digi.wva.WVA
-
Returns the cached list of addressable buttons on the WVA.
- getCachedEcuElements(String) - Method in class com.digi.wva.WVA
-
Returns the library's cached list of specific ECU elements on a given ECU.
- getCachedEcuElementValue(String, String) - Method in class com.digi.wva.WVA
-
Synchronously returns the library's last cached value of a specific element of a specific ECU
of the WVA.
- getCachedEcus() - Method in class com.digi.wva.WVA
-
Returns the library's cached list of addressable ECUs in the vehicle.
- getCachedFaultCode(FaultCodeCommon.Bus, FaultCodeCommon.FaultCodeType, String) - Method in class com.digi.wva.WVA
-
Synchronously returns the last fault code received by this library for a
given ECU.
- getCachedLedNames() - Method in class com.digi.wva.WVA
-
Returns the cached list of addressable LEDs on the WVA.
- getCachedVehicleData(String) - Method in class com.digi.wva.WVA
-
Synchronously returns the last value received by this library for a
given endpoint.
- getCachedVehicleDataEndpoints() - Method in class com.digi.wva.WVA
-
Returns the library's cached list of vehicle data endpoints.
- getConfigKeyFromUri(String) - Static method in class com.digi.wva.util.WvaUtil
-
Given a web services URI or sub-path, intelligently parse out the correct top-level key
to use when applying configuration to the WVA.
- getConfiguration(String, WvaCallback<JSONObject>) - Method in class com.digi.wva.WVA
-
Fetches the current value of the given configuration item.
- getDefault() - Static method in class com.digi.wva.async.EventChannelStateListener
-
Get a EventChannelStateListener implementation which just
calls through to the super's methods in each callback.
- getEcu() - Method in class com.digi.wva.async.FaultCodeEvent
-
Gets the name of the ECU that reported this data
- getEndpointFromUri(String) - Static method in class com.digi.wva.util.WvaUtil
-
Extract the last path piece from the given URI.
- getMessage() - Method in exception com.digi.wva.exc.WvaHttpException
-
Returns a human-readable message describing this exception.
- getMessageType() - Method in class com.digi.wva.async.FaultCodeEvent
-
Gets the message type of this data
- getUrl() - Method in exception com.digi.wva.exc.WvaHttpException
-
Returns the request URL which was provided when this
WvaHttpException
was created.
- valueOf(String) - Static method in enum com.digi.wva.async.AlarmType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.digi.wva.async.EventFactory.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.digi.wva.async.FaultCodeCommon.Bus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.digi.wva.async.FaultCodeCommon.FaultCodeType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.digi.wva.async.AlarmType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.digi.wva.async.EventFactory.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.digi.wva.async.FaultCodeCommon.Bus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.digi.wva.async.FaultCodeCommon.FaultCodeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VehicleDataEvent - Class in com.digi.wva.async
-
Encapsulation of an event containing vehicle data.
- VehicleDataEvent(EventFactory.Type, String, String, DateTime, String, VehicleDataResponse) - Constructor for class com.digi.wva.async.VehicleDataEvent
-
Constructor of a vehicle data event.
- VehicleDataListener - Class in com.digi.wva.async
-
Provides a callback for handling new vehicle data.
- VehicleDataListener() - Constructor for class com.digi.wva.async.VehicleDataListener
-
- VehicleDataResponse - Class in com.digi.wva.async
-
VehicleDataResponse objects encapsulate vehicle data.
- VehicleDataResponse(JSONObject) - Constructor for class com.digi.wva.async.VehicleDataResponse
-
Creates a new VehicleDataResponse object from a JSONObject.
- wrap(EventChannelStateListener, Handler) - Static method in class com.digi.wva.async.EventChannelStateListener
-
Normal library users should not need to call this method.
Used internally by the library to convert a normal listener into one where
each method is executed on the main thread.
- wrap(FaultCodeListener, Handler) - Static method in class com.digi.wva.async.FaultCodeListener
-
Normal library users should not need to call this method.
Used internally by the library to convert a normal listener into one where
onEvent
is executed on the main thread.
- wrap(VehicleDataListener, Handler) - Static method in class com.digi.wva.async.VehicleDataListener
-
Normal library users should not need to call this method.
Used internally by the library to convert a normal listener into one where
onEvent
is executed on the main thread.
- wrap(WvaCallback<T>, Handler) - Static method in class com.digi.wva.async.WvaCallback
-
Normal library users should not need to call this method.
Used internally by the library to convert a normal callback into one where
onResponse
is executed on the main thread.
- WVA - Class in com.digi.wva
-
Configures and manages interactions with the WVA device.
- WVA(String) - Constructor for class com.digi.wva.WVA
-
WVA Constructor.
- WvaCallback<T> - Class in com.digi.wva.async
-
Callback class used to receive response information from asynchronous calls into
the library.
- WvaCallback() - Constructor for class com.digi.wva.async.WvaCallback
-
- WvaException - Exception in com.digi.wva.exc
-
- WvaException() - Constructor for exception com.digi.wva.exc.WvaException
-
- WvaException(String) - Constructor for exception com.digi.wva.exc.WvaException
-
- WvaException(Throwable) - Constructor for exception com.digi.wva.exc.WvaException
-
- WvaException(String, Throwable) - Constructor for exception com.digi.wva.exc.WvaException
-
- WvaHttpException - Exception in com.digi.wva.exc
-
Base class for exceptions wrapping unsuccessful HTTP requests with the WVA.
- WvaHttpException(String, String, String) - Constructor for exception com.digi.wva.exc.WvaHttpException
-
Constructor for WvaHttpException.
- WvaHttpException.WvaHttpBadRequest - Exception in com.digi.wva.exc
-
Exception passed through the library when an HTTP request to the WVA is met
with an HTTP 400 response.
- WvaHttpException.WvaHttpBadRequest(String, String) - Constructor for exception com.digi.wva.exc.WvaHttpException.WvaHttpBadRequest
-
Constructor for a WvaHttpBadRequest exception.
- WvaHttpException.WvaHttpForbidden - Exception in com.digi.wva.exc
-
Exception passed through the library when an HTTP request to the WVA is met
with an HTTP 403 response.
- WvaHttpException.WvaHttpForbidden(String, String) - Constructor for exception com.digi.wva.exc.WvaHttpException.WvaHttpForbidden
-
Constructor for a WvaHttpForbidden exception.
- WvaHttpException.WvaHttpInternalServerError - Exception in com.digi.wva.exc
-
Exception passed through the library when an HTTP request to the WVA is met
with an HTTP 500 response.
- WvaHttpException.WvaHttpInternalServerError(String, String) - Constructor for exception com.digi.wva.exc.WvaHttpException.WvaHttpInternalServerError
-
Constructor for a WvaHttpInternalServerError exception.
- WvaHttpException.WvaHttpNotFound - Exception in com.digi.wva.exc
-
Exception passed through the library when an HTTP request to the WVA is met
with an HTTP 404 response.
- WvaHttpException.WvaHttpNotFound(String, String) - Constructor for exception com.digi.wva.exc.WvaHttpException.WvaHttpNotFound
-
Constructor for a WvaHttpNotFound exception.
- WvaHttpException.WvaHttpRequestUriTooLong - Exception in com.digi.wva.exc
-
Exception passed through the library when an HTTP request to the WVA is met
with an HTTP 414 response.
- WvaHttpException.WvaHttpRequestUriTooLong(String, String) - Constructor for exception com.digi.wva.exc.WvaHttpException.WvaHttpRequestUriTooLong
-
Constructor for a WvaHttpRequestUriTooLong exception.
- WvaHttpException.WvaHttpServiceUnavailable - Exception in com.digi.wva.exc
-
Exception passed through the library when an HTTP request to the WVA is met
with an HTTP 503 response.
- WvaHttpException.WvaHttpServiceUnavailable(String, String) - Constructor for exception com.digi.wva.exc.WvaHttpException.WvaHttpServiceUnavailable
-
Constructor for a WvaHttpServiceUnavailable exception.
- WvaUtil - Class in com.digi.wva.util
-
Utility methods for the WVA Android library.