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

Variable Index

 o APP_ADDED
The APP_ADDED denotes that an application has registered.
 o APP_REMOVED
The APP_UPDATED denotes that one of the registered applications (other than the current application) has been removed from the system.
 o APP_UPDATED
The APP_UPDATED denotes that one of the registered applications (other than the current application) has been updated.
 o IL">COMM_FAIL
The COMM_FAIL denotes a failure of the communications channel to the hardware while running the current application.
 o CUR_APP_CHANGED
The CUR_APP_CHANGED denotes that the current application for the system has been changed.
 o CUR_APP_REMOVED
The CUR_APP_REMOVED denotes that the current application has been removed from the system.
 o CUR_APP_RUNNING
The CUR_APP_RUNNING denotes that the hardware system has transitioned to running the current application.
 o CUR_APP_UPDATED
The CUR_APP_UPDATED denotes that the current application has been updated, i.e.
 o eventApp
The eventApp may be the name of a specific application to which the event applies.
 o eventType
The eventType is one of the enumerated integers definated integers defined within this class or within a subclass.
 o 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.
 o HDW_RESTARTED
The HDW_RESTARTED denotes that an attempt to reboot the hardware has been initiated.
 o KERNEL_RUNNING
The KERNEL_RUNNING denotes that the hardware system has transitioned to running the on-board kernel program.

Constructor Index

 o HdwEvent(Object, int)
Creates an instance of HdwEvent which does not apply to a specific application.
 o HdwEvent(Object, int, String)
Creates an instance of HdwEvent which applies to a specific application.

Method Index

 o getEventApp()
Get the application to which the event applies.
 o getEventType()
Get the event type of this.

Variables

 o 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.

 o 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.

 o HDW_RESTARTED
 public static final int HDW_RESTARTED
The HDW_RESTARTED denotes that an attempt to reboot the hardware has been initiated.

 o 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.

 o 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.

 o 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.

 o 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.

 o 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.

 o APP_ADDED
 public static final int APP_ADDED
The APPdd> The APP_ADDED denotes that an application has registered.

 o 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.

 o 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.

 o eventType
 protected int eventType
The eventType is one of the enumerated integers defined within this class or within a subclass.

 o eventApp
 protected String eventApp
The eventApp may be the name of a specific application to which the event applies.

Constructors

 o 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.
 o 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.

Methods

 o getEventType
 public int getEventType()
Get the event type of this.

Returns:
the event type.
 o 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
>