public class

CommandResponse

extends KeyedMessage
java.lang.Object
   ↳ com.openxc.messages.VehicleMessage
     ↳ com.openxc.messages.KeyedMessage
       ↳ com.openxc.messages.CommandResponse

Class Overview

A response to a Command from the vehicle interface. Command responses have the same key as the original command request.

Summary

[Expand]
Inherited Constants
From class com.openxc.messages.VehicleMessage
From interface android.os.Parcelable
[Expand]
Inherited Fields
From class com.openxc.messages.VehicleMessage
Public Constructors
CommandResponse(Command.CommandType command, boolean status, String message)
CommandResponse(Command.CommandType command, boolean status)
Protected Constructors
CommandResponse(Parcel in)
CommandResponse()
Public Methods
static boolean containsRequiredFields(Set<String> fields)
boolean equals(Object obj)
Command.CommandType getCommand()
MessageKey getKey()
Return the identifying key for this message.
String getMessage()
boolean getStatus()
boolean hasMessage()
String toString()
void writeToParcel(Parcel out, int flags)
Protected Methods
void readFromParcel(Parcel in)
[Expand]
Inherited Methods
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

Public Constructors

public CommandResponse (Command.CommandType command, boolean status, String message)

public CommandResponse (Command.CommandType command, boolean status)

Protected Constructors

protected CommandResponse (Parcel in)

protected CommandResponse ()

Public Methods

public static boolean containsRequiredFields (Set<String> fields)

public boolean equals (Object obj)

public Command.CommandType getCommand ()

public MessageKey getKey ()

Return the identifying key for this message.

public String getMessage ()

public boolean getStatus ()

public boolean hasMessage ()

public String toString ()

public void writeToParcel (Parcel out, int flags)

Protected Methods

protected void readFromParcel (Parcel in)