public class DeviceEvent extends Object
Constructor and Description |
---|
DeviceEvent(GenericDevice device,
DeviceEventType type)
Creates a DeviceEvent.
|
Modifier and Type | Method and Description |
---|---|
GenericDevice |
getDevice()
Gets the event associated device
|
DeviceEventType |
getType()
Gets the event type
|
public DeviceEvent(GenericDevice device, DeviceEventType type)
device
- Device associated to the eventtype
- Type of the eventpublic DeviceEventType getType()
public GenericDevice getDevice()
Copyright © 2012-2013 ADELE Research Group. All Rights Reserved.