Package edu.wpi.first.net
Class MulticastServiceResolver
java.lang.Object
edu.wpi.first.net.MulticastServiceResolver
- All Implemented Interfaces:
AutoCloseable
public class MulticastServiceResolver extends Object implements AutoCloseable
Class to resolve a service over mDNS.
-
Constructor Summary
Constructors Constructor Description MulticastServiceResolver(String serviceType)
Creates a MulticastServiceResolver. -
Method Summary
Modifier and Type Method Description void
close()
ServiceData[]
getData()
int
getEventHandle()
boolean
hasImplementation()
void
start()
void
stop()
-
Constructor Details
-
MulticastServiceResolver
Creates a MulticastServiceResolver.- Parameters:
serviceType
- service type to look for
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
-
start
-
stop
-
hasImplementation
-
getEventHandle
-
getData
-