mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[docs] Build with JavaDoc 17 and add missing docs (#6220)
Co-authored-by: Sam Carlberg <sam.carlberg@gmail.com>
This commit is contained in:
@@ -32,22 +32,39 @@ public class MulticastServiceResolver implements AutoCloseable {
|
||||
m_cleanable.clean();
|
||||
}
|
||||
|
||||
/** Starts multicast service resolver. */
|
||||
public void start() {
|
||||
WPINetJNI.startMulticastServiceResolver(m_handle);
|
||||
}
|
||||
|
||||
/** Stops multicast service resolver. */
|
||||
public void stop() {
|
||||
WPINetJNI.stopMulticastServiceResolver(m_handle);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if there's a multicast service resolver implementation.
|
||||
*
|
||||
* @return True if there's a multicast service resolver implementation.
|
||||
*/
|
||||
public boolean hasImplementation() {
|
||||
return WPINetJNI.getMulticastServiceResolverHasImplementation(m_handle);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns event handle.
|
||||
*
|
||||
* @return Event handle.
|
||||
*/
|
||||
public int getEventHandle() {
|
||||
return WPINetJNI.getMulticastServiceResolverEventHandle(m_handle);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns multicast service resolver data.
|
||||
*
|
||||
* @return Multicast service resolver data.
|
||||
*/
|
||||
public ServiceData[] getData() {
|
||||
return WPINetJNI.getMulticastServiceResolverData(m_handle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user