runtime/ServicePublisher.py
changeset 1736 7e61baa047f0
parent 1734 750eeb7230a1
child 1740 b789b695b5c6
equal deleted inserted replaced
1735:c02818d7e29f 1736:7e61baa047f0
    24 import socket
    24 import socket
    25 import threading
    25 import threading
    26 from util import Zeroconf
    26 from util import Zeroconf
    27 
    27 
    28 service_type = '_PYRO._tcp.local.'
    28 service_type = '_PYRO._tcp.local.'
       
    29 
    29 
    30 
    30 class ServicePublisher():
    31 class ServicePublisher():
    31     def __init__(self):
    32     def __init__(self):
    32         # type: fully qualified service type name
    33         # type: fully qualified service type name
    33         self.serviceproperties = {'description':'Beremiz remote PLC'}
    34         self.serviceproperties = {'description':'Beremiz remote PLC'}