Package brisa :: Package upnp :: Package control_point :: Module service :: Class StateVariable
[hide private]
[frames] | no frames]

Class StateVariable

source code

                    object --+    
                             |    
base_service.BaseStateVariable --+
                                 |
                                StateVariable

Instance Methods [hide private]
 
__init__(self, service, name, send_events, multicast, data_type, values)
Constructor for the StateVariable class.
source code
 
subscribe(self, callback) source code

Inherited from base_service.BaseStateVariable: get_value, subscribe_for_update, unsubscribe_for_update, update

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, service, name, send_events, multicast, data_type, values)
(Constructor)

source code 

Constructor for the StateVariable class.

Parameters:
  • service - Service which holds this variable
  • name - variable name
  • send_events - send events option
  • data_type - data type
  • values - values
Overrides: object.__init__
(inherited documentation)