Package sparked :: Package hardware :: Module serial :: Class IProtocolProbe
[hide private]
[frames] | no frames]

Class IProtocolProbe

source code

zope.interface.Interface --+
                           |
                          IProtocolProbe

Class Variables [hide private]
  probeRequest = Attribute(...
  probeResponse = Attribute(...
  _InterfaceClass__attrs = {'probeRequest': <zope.interface.inte...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'sparked.hardware.serial.IProtocolProbe'
  __iro__ = (<InterfaceClass sparked.hardware.serial.IProtocolPr...
  __name__ = 'IProtocolProbe'
  __sro__ = (<InterfaceClass sparked.hardware.serial.IProtocolPr...
  _implied = {<InterfaceClass sparked.hardware.serial.IProtocolP...
  dependents = <WeakKeyDictionary at 181720588>

Inherited from zope.interface.Interface (private): _Element__tagged_values

Class Variable Details [hide private]

probeRequest

Value:
Attribute("""
        What to send to the serial port on connection.
        """)

probeResponse

Value:
Attribute("""
        What to receive from the serial port. When this is a string,
        the serialport is expected to return exactly this.

        If this attribute is callable as a static method, a boolean
        return value determines whether the probe is successful or
        not. If None is returned, there is not enough data yet and the
        function will be called again when data arrives again.
...

_InterfaceClass__attrs

Value:
{'probeRequest': <zope.interface.interface.Attribute object at 0xad4d4\
ec>,
 'probeResponse': <zope.interface.interface.Attribute object at 0xad4d\
54c>}

__iro__

Value:
(<InterfaceClass sparked.hardware.serial.IProtocolProbe>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass sparked.hardware.serial.IProtocolProbe>,
 <InterfaceClass zope.interface.Interface>)

_implied

Value:
{<InterfaceClass sparked.hardware.serial.IProtocolProbe>: (),
 <InterfaceClass zope.interface.Interface>: ()}