Trees | Indices | Help |
|
---|
|
SpecChannel class
Represent a channel in Spec
Signals: valueChanged(channelValue, channelName) -- emitted when the channel gets updated
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
channel_aliases =
|
|
Constructor Arguments: connection -- a SpecConnection object channelName -- string representing a channel name, i.e. 'var/toto' Keyword arguments: registrationFlag -- defines how the channel is registered, possible values are : SpecChannel.DOREG (default), SpecChannel.DONTREG (do not register), SpecChannel.WAITREG (delayed registration until Spec is reconnected) |
Do registration when Spec gets connected If registration flag is WAITREG put the flag to DOREG if not yet connected, and register if DOREG |
Register channel Registering a channel means telling the server we want to receive update events when a channel value changes on the server side. |
Read the channel value If channel is registered, just return the internal value, else obtain the channel value and return it. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 20 03:53:37 2014 | http://epydoc.sourceforge.net |