Class ServiceDescription
java.lang.Object
org.openhab.core.io.transport.mdns.ServiceDescription
This is a simple data container to keep all details of a service description together.
- Author:
- Kai Kreuzer - Initial contribution
-
Field Summary
Modifier and TypeFieldDescriptionint
-
Constructor Summary
ConstructorDescriptionServiceDescription
(String serviceType, String serviceName, int servicePort, Hashtable<String, String> serviceProperties) Constructor for aServiceDescription
, which takes all details as parameters -
Method Summary
-
Field Details
-
serviceType
-
serviceName
-
servicePort
public int servicePort -
serviceProperties
-
-
Constructor Details
-
ServiceDescription
public ServiceDescription(String serviceType, String serviceName, int servicePort, Hashtable<String, String> serviceProperties) Constructor for aServiceDescription
, which takes all details as parameters- Parameters:
serviceType
- String service type, like "_openhab-server._tcp.local."serviceName
- String service name, like "openHAB"servicePort
- Int service port, like 8080serviceProperties
- Hashtable service props, like url = "/rest"
-
-
Method Details