All Packages Class Hierarchy This Package Previous Next Index
Class com.arcsinc.hardwarehost.HdwEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.arcsinc.hardwarehost.HdwEvent
- public class HdwEvent
- extends EventObject
- implements Serializable
The HdwEvent
class is used to convey various state
changes within the hardware system and its supporting system on
the host.
- See Also:
- EventObject, Serializable
-
APP_ADDED
- The APP_ADDED denotes that an application has registered.
-
APP_REMOVED
- The APP_UPDATED denotes that one of the registered applications
(other than the current application) has been removed from the
system.
-
APP_UPDATED
- The APP_UPDATED denotes that one of the registered applications
(other than the current application) has been updated.
-
IL">COMM_FAIL
- The COMM_FAIL denotes a failure of the communications channel
to the hardware while running the current application.
-
CUR_APP_CHANGED
- The CUR_APP_CHANGED denotes that the current application for the
system has been changed.
-
CUR_APP_REMOVED
- The CUR_APP_REMOVED denotes that the current application has
been removed from the system.
-
CUR_APP_RUNNING
- The CUR_APP_RUNNING denotes that the hardware system has
transitioned to running the current application.
-
CUR_APP_UPDATED
- The CUR_APP_UPDATED denotes that the current application has
been updated, i.e.
-
eventApp
- The eventApp may be the name of a specific application to which
the event applies.
-
eventType
- The eventType is one of the enumerated integers definated integers defined within
this class or within a subclass.
-
HDW_FAIL
- The HDW_FAIL denotes either a general failure of the OS access
to the hardware or a failure of the communications channel
to the hardware while running the on-board kernel.
-
HDW_RESTARTED
- The HDW_RESTARTED denotes that an attempt to reboot the
hardware has been initiated.
-
KERNEL_RUNNING
- The KERNEL_RUNNING denotes that the hardware system has
transitioned to running the on-board kernel program.
-
HdwEvent(Object, int)
- Creates an instance of
HdwEvent
which does not
apply to a specific application.
-
HdwEvent(Object, int, String)
- Creates an instance of
HdwEvent
which applies to a
specific application.
-
getEventApp()
- Get the application to which the event applies.
-
getEventType()
- Get the event type of
this
.
COMM_FAIL
public static final int COMM_FAIL
- The COMM_FAIL denotes a failure of the communications channel
to the hardware while running the current application.
KERNEL_RUNNING
public static final int KERNEL_RUNNING
- The KERNEL_RUNNING denotes that the hardware system has
transitioned to running the on-board kernel program.
HDW_RESTARTED
public static final int HDW_RESTARTED
- The HDW_RESTARTED denotes that an attempt to reboot the
hardware has been initiated.
CUR_APP_RUNNING
public static final int CUR_APP_RUNNING
- The CUR_APP_RUNNING denotes that the hardware system has
transitioned to running the current application.
HDW_FAIL
public static final int HDW_FAIL
- The HDW_FAIL denotes either a general failure of the OS access
to the hardware or a failure of the communications channel
to the hardware while running the on-board kernel.
CUR_APP_CHANGED
public static final int CUR_APP_CHANGED
- The CUR_APP_CHANGED denotes that the current application for the
system has been changed.
CUR_APP_UPDATED
public static final int CUR_APP_UPDATED
- The CUR_APP_UPDATED denotes that the current application has
been updated, i.e. a recompiled version will potential symbol
changes is now in the system.
CUR_APP_REMOVED
public static final int CUR_APP_REMOVblic static final int CUR_APP_REMOVED
- The CUR_APP_REMOVED denotes that the current application has
been removed from the system.
APP_ADDED
public static final int APP_ADDED
- The APPdd> The APP_ADDED denotes that an application has registered.
APP_UPDATED
public static final int APP_UPDATED
- The APP_UPDATED denotes that one of the registered applications
(other than the current application) has been updated.
APP_REMOVED
public static final int APP_REMOVED
- The APP_UPDATED denotes that one of the registered applications
(other than the current application) has been removed from the
system.
eventType
protected int eventType
- The eventType is one of the enumerated integers defined within
this class or within a subclass.
eventApp
protected String eventApp
- The eventApp may be the name of a specific application to which
the event applies.
HdwEvent
public HdwEvent(Object obj,
int eventType)
- Creates an instance of
HdwEvent
which does not
apply to a specific application.
- Parameters:
- obj - object which generated the event.
- eventType - the enumerated event type.
HdwEvent
public HdwEvent(Object obj,
int e int eventType,
String eventApp)
- Creates an instance of
HdwEvent
which applies to a
specific application.
- Parameters:
- obj - object which generated the event.
- eventType - the enumerated event type.
- eventApp - application name.
getEventType
public int getEventType()
- Get the event type of
this
.
- Returns:
- the event type.
getEventApp
public String getEventApp()
- Get the application to which the event applies.
- Returns:
- the application name, may be
null
.
All Packages Class Hierarchy This Package Previous Next Next Index