org.ws4d.java.service.reference
Interface DeviceListener

All Known Implementing Classes:
DefaultClient

public interface DeviceListener

Interface to implement device reference listeners.


Method Summary
 void deviceBuiltUp(DeviceReference deviceRef, Device device)
          Callback method, if device within the DeviceReference was created.
 void deviceBye(DeviceReference deviceRef)
          Callback method, if device bye was received or the local device was stopped.
 void deviceChanged(DeviceReference deviceRef)
          Callback method, if device was changed and the device data is no longer accurate.
 void deviceCommunicationErrorOrReset(DeviceReference deviceRef)
          Callback method, if communication with the remote device of the DeviceReference has failed or the reference was reset.
 void deviceCompletelyDiscovered(DeviceReference deviceRef)
          Callback method, if discovery metadata was completely received from device (via directed probe).
 void deviceRunning(DeviceReference deviceRef)
          Callback method, if device is usable.
 

Method Detail

deviceRunning

void deviceRunning(DeviceReference deviceRef)
Callback method, if device is usable.

Parameters:
deviceRef - a reference to the device that caused the notification

deviceCompletelyDiscovered

void deviceCompletelyDiscovered(DeviceReference deviceRef)
Callback method, if discovery metadata was completely received from device (via directed probe).

Parameters:
deviceRef - a reference to the device that caused the notification

deviceBye

void deviceBye(DeviceReference deviceRef)
Callback method, if device bye was received or the local device was stopped.

Parameters:
deviceRef - a reference to the device that caused the notification

deviceChanged

void deviceChanged(DeviceReference deviceRef)
Callback method, if device was changed and the device data is no longer accurate.

Parameters:
deviceRef - a reference to the device that caused the notification

deviceBuiltUp

void deviceBuiltUp(DeviceReference deviceRef,
                   Device device)
Callback method, if device within the DeviceReference was created.

Parameters:
deviceRef - a reference to the device that caused the notification
device - the proxy device just built up

deviceCommunicationErrorOrReset

void deviceCommunicationErrorOrReset(DeviceReference deviceRef)
Callback method, if communication with the remote device of the DeviceReference has failed or the reference was reset.

Parameters:
deviceRef - a reference to the device that caused the notification