public interface DeviceReceiver extends OsidReceiver
The device receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted Device
objects.
Modifier and Type | Method and Description |
---|---|
void |
changedDevice(Id deviceId)
The callback for notification of updated devices.
|
void |
deletedDevice(Id deviceId)
The callback for notification of deleted devices.
|
void |
newDevice(Id deviceId)
The callback for notifications of new devices.
|
down, up
void newDevice(Id deviceId)
deviceId
- the Id
of the new Device
mandatory
- This method must be implemented. void changedDevice(Id deviceId)
deviceId
- the Id
of the updated Device
mandatory
- This method must be implemented. void deletedDevice(Id deviceId)
deviceId
- the Id
of the deleted Device
mandatory
- This method must be implemented.