Packages that use StateVariable
Package
Description
Core UPnP device, service and root-device model of the Cybergarage stack.
UPnP control actions and subscription messages of the Cybergarage stack.
Uses of StateVariable in org.cybergarage.upnp
Subclasses with type arguments of type StateVariable in org.cybergarage.upnpModifier and TypeClassDescriptionclassA collection of UPnP service state variables.Methods in org.cybergarage.upnp that return StateVariableModifier and TypeMethodDescriptionArgument.getRelatedStateVariable()Gets the related state variable for this argument.Device.getStateVariable(String name) Finds a state variable by name across every service.Device.getStateVariable(String serviceType, String name) Finds a state variable by name, optionally restricted to one service type.Service.getStateVariable(String name) Looks up a state variable in this service's state table.ServiceStateTable.getStateVariable(int n) Get the state variable at the given position.Methods in org.cybergarage.upnp with parameters of type StateVariableModifier and TypeMethodDescriptionvoidService.addStateVariable(StateVariable var) Add the StateVariable to the service.
Note: This method should be used to create a dynamic
Device withtout writing any XML that describe the device
.private booleanService.notify(Subscriber sub, StateVariable stateVar) Sends a state variable's new value to one subscriber.voidService.notify(StateVariable stateVar) Send an event for one state variable to every current subscriber, dropping any that have expired first.voidStateVariable.set(StateVariable stateVar) Copies the name, value, dataType and sendEvents flag from another state variable into this one.Uses of StateVariable in org.cybergarage.upnp.control
Methods in org.cybergarage.upnp.control with parameters of type StateVariableModifier and TypeMethodDescriptionprivate NodeQueryRequest.createContentNode(StateVariable stateVar) Builds the response content node with the variable's value.booleanQueryListener.queryControlReceived(StateVariable stateVar) Called when a query control is received for a state variable.voidQueryRequest.setRequest(StateVariable stateVar) Sets up the query request for the specified state variable.voidQueryResponse.setResponse(StateVariable stateVar) Sets the response using the specified state variable.