org.ocap.hn.upnp.client
Interface UPnPStateVariableListener

All Superinterfaces:
EventListener

public interface UPnPStateVariableListener
extends EventListener

This interface represents a client variable change listener for a UPnPClientService object.


Method Summary
 void notifySubscribed(UPnPClientService service)
          Notifies the listener that the control point has successfully subscribed to receive state variable eventing from the specified service.
 void notifyUnsubscribed(UPnPClientService service)
          Notifies the listener that the control point has successfully unsubscribed from receiving state variable eventing from the specified service.
 void notifyValueChanged(UPnPClientStateVariable variable)
          Notifies the listener that the value of the UPnP state variable being listened to has changed.
 

Method Detail

notifyValueChanged

void notifyValueChanged(UPnPClientStateVariable variable)
Notifies the listener that the value of the UPnP state variable being listened to has changed.

Parameters:
variable - The UPnP state variable that changed.

notifySubscribed

void notifySubscribed(UPnPClientService service)
Notifies the listener that the control point has successfully subscribed to receive state variable eventing from the specified service.

Parameters:
service - The UPnP service that was subscribed to.

notifyUnsubscribed

void notifyUnsubscribed(UPnPClientService service)
Notifies the listener that the control point has successfully unsubscribed from receiving state variable eventing from the specified service.

Parameters:
service - The UPnP service that was un-subscribed from.


Copyright © 2011. All Rights Reserved.