mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[wpiutil] MulticastResolver: make event manual reset, change to multiple read (#3736)
This commit is contained in:
@@ -38,7 +38,7 @@ public class MulticastServiceResolver implements AutoCloseable {
|
||||
return WPIUtilJNI.getMulticastServiceResolverEventHandle(m_handle);
|
||||
}
|
||||
|
||||
public ServiceData getData() {
|
||||
public ServiceData[] getData() {
|
||||
return WPIUtilJNI.getMulticastServiceResolverData(m_handle);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -146,5 +146,5 @@ public final class WPIUtilJNI {
|
||||
|
||||
public static native int getMulticastServiceResolverEventHandle(int handle);
|
||||
|
||||
public static native ServiceData getMulticastServiceResolverData(int handle);
|
||||
public static native ServiceData[] getMulticastServiceResolverData(int handle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user