public class

DiagnosticRequest

extends DiagnosticMessage
java.lang.Object
   ↳ com.openxc.messages.VehicleMessage
     ↳ com.openxc.messages.KeyedMessage
       ↳ com.openxc.messages.DiagnosticMessage
         ↳ com.openxc.messages.DiagnosticRequest

Class Overview

A diagnostic request message, for example an OBD-II request.

Summary

Constants
String ADD_ACTION_KEY
String CANCEL_ACTION_KEY
[Expand]
Inherited Constants
From class com.openxc.messages.DiagnosticMessage
From class com.openxc.messages.VehicleMessage
From interface android.os.Parcelable
[Expand]
Inherited Fields
From class com.openxc.messages.DiagnosticMessage
From class com.openxc.messages.VehicleMessage
Public Constructors
DiagnosticRequest(int busId, int id, int mode)
DiagnosticRequest(int busId, int id, int mode, int pid)
Protected Constructors
DiagnosticRequest(Parcel in)
DiagnosticRequest()
Public Methods
static boolean containsRequiredFields(Set<String> fields)
boolean equals(Object obj)
Double getFrequency()
boolean getMultipleResponses()
String getName()
boolean hasFrequency()
boolean hasName()
void setFrequency(Double frequency)
void setMultipleResponses(boolean multipleResponses)
void setName(String name)
String toString()
void writeToParcel(Parcel out, int flags)
Protected Methods
void readFromParcel(Parcel in)
[Expand]
Inherited Methods
From class com.openxc.messages.DiagnosticMessage
From class com.openxc.messages.KeyedMessage
From class com.openxc.messages.VehicleMessage
From class java.lang.Object
From interface android.os.Parcelable
From interface java.lang.Comparable

Constants

public static final String ADD_ACTION_KEY

Constant Value: "add"

public static final String CANCEL_ACTION_KEY

Constant Value: "cancel"

Public Constructors

public DiagnosticRequest (int busId, int id, int mode)

public DiagnosticRequest (int busId, int id, int mode, int pid)

Protected Constructors

protected DiagnosticRequest (Parcel in)

protected DiagnosticRequest ()

Public Methods

public static boolean containsRequiredFields (Set<String> fields)

public boolean equals (Object obj)

public Double getFrequency ()

public boolean getMultipleResponses ()

public String getName ()

public boolean hasFrequency ()

public boolean hasName ()

public void setFrequency (Double frequency)

public void setMultipleResponses (boolean multipleResponses)

public void setName (String name)

public String toString ()

public void writeToParcel (Parcel out, int flags)

Protected Methods

protected void readFromParcel (Parcel in)