Package edu.wpi.first.net
Class MulticastServiceResolver
java.lang.Object
edu.wpi.first.net.MulticastServiceResolver
- All Implemented Interfaces:
AutoCloseable
Class to resolve a service over mDNS.
-
Constructor Summary
ConstructorDescriptionMulticastServiceResolver
(String serviceType) Creates a MulticastServiceResolver. -
Method Summary
-
Constructor Details
-
MulticastServiceResolver
Creates a MulticastServiceResolver.- Parameters:
serviceType
- service type to look for
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
-
start
Starts multicast service resolver. -
stop
Stops multicast service resolver. -
hasImplementation
Returns true if there's a multicast service resolver implementation.- Returns:
- True if there's a multicast service resolver implementation.
-
getEventHandle
Returns event handle.- Returns:
- Event handle.
-
getData
Returns multicast service resolver data.- Returns:
- Multicast service resolver data.
-