102103104105106107108109110
jmdns = null; } } public void registerService(String name) throws IOException { ServiceInfo si = createServiceInfo(name, new HashMap()); serviceInfos.add(si); getJmdns().registerService(si); }
198199200201202203204
String type = getType(); if (LOG.isDebugEnabled()) { LOG.debug("Registering service type: " + type + " name: " + name + " details: " + map); } return new ServiceInfo(type, name + "." + type, port, weight, priority, ""); }