public class

NamedVehicleMessage

extends KeyedMessage
java.lang.Object
   ↳ com.openxc.messages.VehicleMessage
     ↳ com.openxc.messages.KeyedMessage
       ↳ com.openxc.messages.NamedVehicleMessage
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

A NamedVehicleMessage is a VehicleMessage with a name field. Named messages are keyed on the name.

Summary

Constants
String NAME_KEY
[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
NamedVehicleMessage(String name)
NamedVehicleMessage(Long timestamp, String name)
Protected Constructors
NamedVehicleMessage(Parcel in)
NamedVehicleMessage()
Public Methods
int compareTo(VehicleMessage other)
static boolean containsRequiredFields(Set<String> fields)
boolean equals(Object obj)
MessageKey getKey()
Return the identifying key for this message.
String getName()
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

Constants

protected static final String NAME_KEY

Constant Value: "name"

Public Constructors

public NamedVehicleMessage (String name)

public NamedVehicleMessage (Long timestamp, String name)

Protected Constructors

protected NamedVehicleMessage (Parcel in)

protected NamedVehicleMessage ()

Public Methods

public int compareTo (VehicleMessage other)

public static boolean containsRequiredFields (Set<String> fields)

public boolean equals (Object obj)

public MessageKey getKey ()

Return the identifying key for this message.

public String getName ()

public String toString ()

public void writeToParcel (Parcel out, int flags)

Protected Methods

protected void readFromParcel (Parcel in)