Package edu.wpi.first.net
Class ServiceData
java.lang.Object
edu.wpi.first.net.ServiceData
public class ServiceData extends Object
Service data for MulticastServiceResolver.
-
Constructor Summary
Constructors Constructor Description ServiceData(long ipv4Address, int port, String serviceName, String hostName, String[] keys, String[] values)
Constructs a ServiceData. -
Method Summary
Modifier and Type Method Description String
getHostName()
long
getIpv4Address()
int
getPort()
String
getServiceName()
Map<String,String>
getTxt()
-
Constructor Details
-
ServiceData
public ServiceData(long ipv4Address, int port, String serviceName, String hostName, String[] keys, String[] values)Constructs a ServiceData.- Parameters:
ipv4Address
- ipv4Addressport
- portserviceName
- found service namehostName
- found host namekeys
- txt keysvalues
- txt values
-
-
Method Details