|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UPnPStateVariableHandler
This interface represents a handler for the evented UPnP state variables on a service. The hander is called as a result of incoming subscription and query actions, and supplies the state variable values to be evented.
| Method Summary | |
|---|---|
String |
getValue(UPnPManagedStateVariable variable)
Notifies the listener that a control point has requested the value of a state variable through the QueryStateVariable action. |
void |
notifySubscribed(UPnPManagedService service)
Notifies the listener that a control point has subscribed to state variable eventing on the specified service. |
void |
notifyUnsubscribed(UPnPManagedService service,
int remainingSubs)
Notifies the listener that a control point has successfully unsubscribed from state variable eventing on the specified service, or that a prior subscription has expired. |
| Method Detail |
|---|
String getValue(UPnPManagedStateVariable variable)
QueryStateVariable action.
The handler must return the current value of the
requested state variable.
variable - The UPnP state variable that was queried.
void notifySubscribed(UPnPManagedService service)
service - The UPnP service that was subscribed to.
void notifyUnsubscribed(UPnPManagedService service,
int remainingSubs)
service - The UPnP service that was unsubscribed from.remainingSubs - The number of remaining active
subscriptions to this service.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||