runtime/ServicePublisher.py
changeset 726 ae63ccc29444
parent 648 73295e742da2
child 763 c1104099c151
equal deleted inserted replaced
725:31dade089db5 726:ae63ccc29444
    20 #
    20 #
    21 #You should have received a copy of the GNU General Public
    21 #You should have received a copy of the GNU General Public
    22 #License along with this library; if not, write to the Free Software
    22 #License along with this library; if not, write to the Free Software
    23 #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    23 #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    24 
    24 
    25 import Zeroconf, socket, threading
    25 import socket, threading
       
    26 from util import Zeroconf
    26 
    27 
    27 class ServicePublisher():
    28 class ServicePublisher():
    28     def __init__(self):
    29     def __init__(self):
    29         # type: fully qualified service type name
    30         # type: fully qualified service type name
    30         self.service_type = '_PYRO._tcp.local.'
    31         self.service_type = '_PYRO._tcp.local.'