public final class DeviceAgentEvent extends AbstractEvent<DeviceAgentEvent.Type,DeviceId>
Modifier and Type | Class and Description |
---|---|
static class |
DeviceAgentEvent.Type
Type of device events.
|
Constructor and Description |
---|
DeviceAgentEvent(DeviceAgentEvent.Type type,
DeviceId deviceId)
Creates a new device agent event for the given type and device ID.
|
DeviceAgentEvent(DeviceAgentEvent.Type type,
DeviceId deviceId,
long time)
Creates a new device agent event for the given type, device ID and time.
|
public DeviceAgentEvent(DeviceAgentEvent.Type type, DeviceId deviceId)
type
- event typedeviceId
- device IDpublic DeviceAgentEvent(DeviceAgentEvent.Type type, DeviceId deviceId, long time)
type
- event typedeviceId
- device IDtime
- occurrence time