jhomenet.hw.management
Class HardwareRegistryEvent

java.lang.Object
  extended by java.util.EventObject
      extended by jhomenet.hw.management.HardwareRegistryEvent
All Implemented Interfaces:
java.io.Serializable

public class HardwareRegistryEvent
extends java.util.EventObject

Id: $Id: HardwareRegistryEvent.java,v 1.2 2005/10/17 03:35:44 dhirwinjr Exp $ Description:

See Also:
Serialized Form

Nested Class Summary
static class HardwareRegistryEvent.EventType
          Define the different types of hardware events.
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HardwareRegistryEvent(java.lang.Object source, HardwareRegistryEvent.EventType eventType, java.lang.String hwid)
          Default constructor.
 
Method Summary
 java.lang.String getEventDesc()
          Return a description of the hardware event.
 HardwareRegistryEvent.EventType getEventType()
          Get the event type.
 java.lang.String getHardwareId()
          Get the hardware ID of the hardware associated with this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HardwareRegistryEvent

public HardwareRegistryEvent(java.lang.Object source,
                             HardwareRegistryEvent.EventType eventType,
                             java.lang.String hwid)
Default constructor.

Parameters:
hwid -
Method Detail

getHardwareId

public java.lang.String getHardwareId()
Get the hardware ID of the hardware associated with this event.

Returns:
The hardware ID

getEventDesc

public java.lang.String getEventDesc()
Return a description of the hardware event.

Returns:
A description of the hardware event

getEventType

public HardwareRegistryEvent.EventType getEventType()
Get the event type.

Returns:
The even type


Copyright © 2004-2005 David Irwin. All Rights Reserved.