net.dpml.appliance
Class ApplianceEvent
java.lang.Object
java.util.EventObject
net.dpml.appliance.ApplianceEvent
- All Implemented Interfaces:
- Serializable
public class ApplianceEvent
- extends EventObject
Event triggered as a result of a state change within an appliance.
- Version:
- 2.1.1
- Author:
- Digital Product Management Library
- See Also:
- Serialized Form
ApplianceEvent
public ApplianceEvent(Appliance source,
Status status)
- Construct a new
StateEvent
.
- Parameters:
source
- the source appliancestatus
- the appliance state
getAppliance
public Appliance getAppliance()
- Return the appliance that initiated the event.
- Returns:
- the source appliance
getStatus
public Status getStatus()
- Return the appliance status.
- Returns:
- the status enumeration