Package org.openhab.io.servicediscovery

Examples of org.openhab.io.servicediscovery.ServiceDescription


    }
   
    private ServiceDescription getDefaultServiceDescription() {
    Hashtable<String, String> serviceProperties = new Hashtable<String, String>();
    serviceProperties.put("uri", REST_SERVLET_ALIAS);
    return new ServiceDescription("_openhab-server._tcp.local.", "openHAB", httpPort, serviceProperties);
    }
View Full Code Here


    serviceProperties.put("uri", REST_SERVLET_ALIAS);
    return new ServiceDescription("_openhab-server._tcp.local.", "openHAB", httpPort, serviceProperties);
    }

    private ServiceDescription getSSLServiceDescription() {
      ServiceDescription description = getDefaultServiceDescription();
      description.serviceType = "_openhab-server-ssl._tcp.local.";
      description.serviceName = "openHAB-ssl";
    description.servicePort = httpSSLPort;
    return description;
    }
View Full Code Here

    }
   
    private ServiceDescription getDefaultServiceDescription() {
    Hashtable<String, String> serviceProperties = new Hashtable<String, String>();
    serviceProperties.put("uri", CV_SERVLET_ALIAS);
    return new ServiceDescription("_openhab-cv-server._tcp.local.", "openHAB-CV", httpPort, serviceProperties);
    }
View Full Code Here

    serviceProperties.put("uri", CV_SERVLET_ALIAS);
    return new ServiceDescription("_openhab-cv-server._tcp.local.", "openHAB-CV", httpPort, serviceProperties);
    }

    private ServiceDescription getSSLServiceDescription() {
      ServiceDescription description = getDefaultServiceDescription();
      description.serviceType = "_openhab-cv-server-ssl._tcp.local.";
      description.serviceName = "openHAB-CV-ssl";
    description.servicePort = httpSSLPort;
    return description;
    }
View Full Code Here

TOP

Related Classes of org.openhab.io.servicediscovery.ServiceDescription

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.