|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.util.EventObject
org.mbari.siam.core.NodeEvent
org.mbari.siam.core.PowerEvent
public class PowerEvent
Power Event
| Field Summary | |
|---|---|
java.lang.String |
_reading
|
int |
_type
|
static int |
POWER_DO_HALT
|
static int |
POWER_DO_SAFEMODE
Power Event Constants |
static int |
POWER_FAILURE_DETECTED
PowerEvent IDs |
static int |
POWER_FIRST
Range of PowerEvent IDs |
static int |
POWER_LAST
|
| Fields inherited from class org.mbari.siam.core.NodeEvent |
|---|
_consumed, _id, SCHEDULER_EVENT_MASK, SERVICE_EVENT_MASK |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
PowerEvent(java.lang.Object source)
Constructs a PowerEvent with the specified source and type |
|
PowerEvent(java.lang.Object source,
int id,
int type)
Constructs a PowerEvent with the specified source and type |
|
PowerEvent(java.lang.Object source,
int id,
java.lang.String reading)
Constructs a PowerEvent with the specified source and type |
|
| Method Summary | |
|---|---|
java.lang.String |
getReading()
|
int |
getType()
|
void |
setType(int type)
|
| Methods inherited from class org.mbari.siam.core.NodeEvent |
|---|
consume, finalize, getID, isConsumed, paramString, toString |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int POWER_FIRST
public static final int POWER_LAST
public static final int POWER_FAILURE_DETECTED
public static final int POWER_DO_SAFEMODE
public static final int POWER_DO_HALT
public int _type
public java.lang.String _reading
| Constructor Detail |
|---|
public PowerEvent(java.lang.Object source)
public PowerEvent(java.lang.Object source,
int id,
java.lang.String reading)
public PowerEvent(java.lang.Object source,
int id,
int type)
| Method Detail |
|---|
public void setType(int type)
public int getType()
public java.lang.String getReading()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||