public class ConsoleEventVehicleStateChanged
extends java.lang.Object
VehicleStateMonitor
is the one generating these events.Modifier and Type | Class and Description |
---|---|
static class |
ConsoleEventVehicleStateChanged.STATE |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description |
protected ConsoleEventVehicleStateChanged.STATE |
state |
protected java.lang.String |
vehicle |
Constructor and Description |
---|
ConsoleEventVehicleStateChanged(java.lang.String vehicle,
java.lang.String description,
ConsoleEventVehicleStateChanged.STATE mode)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
ConsoleEventVehicleStateChanged.STATE |
getState() |
java.lang.String |
getVehicle() |
protected java.lang.String vehicle
protected java.lang.String description
protected ConsoleEventVehicleStateChanged.STATE state
public ConsoleEventVehicleStateChanged(java.lang.String vehicle, java.lang.String description, ConsoleEventVehicleStateChanged.STATE mode)
vehicle
- The name of the vehicleerrorDesc
- The error description (only applicable for error states)mode
- The new mode of the vehicleVehicleStateMonitor}
public java.lang.String getVehicle()
public java.lang.String getDescription()
public ConsoleEventVehicleStateChanged.STATE getState()
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.