connectors/PYRO/__init__.py
changeset 399 77e23bf04c33
parent 361 331d698e1118
child 411 8261c8f1e365
equal deleted inserted replaced
398:31d08063b5d6 399:77e23bf04c33
    21 import Pyro.core as pyro
    21 import Pyro.core as pyro
    22 from Pyro.errors import PyroError
    22 from Pyro.errors import PyroError
    23 import traceback
    23 import traceback
    24 from time import sleep
    24 from time import sleep
    25 import copy
    25 import copy
       
    26 
       
    27 # this module attribute contains a list of DNS-SD (Zeroconf) service types
       
    28 # supported by this connector plugin.
       
    29 #
       
    30 # for connectors that do not support DNS-SD, this attribute can be omitted
       
    31 # or set to an empty list.
       
    32 supported_dnssd_services = ["_PYRO._tcp.local."]
    26 
    33 
    27 def PYRO_connector_factory(uri, pluginsroot):
    34 def PYRO_connector_factory(uri, pluginsroot):
    28     """
    35     """
    29     This returns the connector to Pyro style PLCobject
    36     This returns the connector to Pyro style PLCobject
    30     """
    37     """