Package edu.wpi.first.net
Class WPINetJNI
java.lang.Object
edu.wpi.first.net.WPINetJNI
public class WPINetJNI extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WPINetJNI.Helper
-
Constructor Summary
Constructors Constructor Description WPINetJNI()
-
Method Summary
Modifier and Type Method Description static void
addPortForwarder(int port, String remoteHost, int remotePort)
static int
createMulticastServiceAnnouncer(String serviceName, String serviceType, int port, String[] keys, String[] values)
static int
createMulticastServiceResolver(String serviceType)
static void
forceLoad()
Force load the library.static void
freeMulticastServiceAnnouncer(int handle)
static void
freeMulticastServiceResolver(int handle)
static boolean
getMulticastServiceAnnouncerHasImplementation(int handle)
static ServiceData[]
getMulticastServiceResolverData(int handle)
static int
getMulticastServiceResolverEventHandle(int handle)
static boolean
getMulticastServiceResolverHasImplementation(int handle)
static void
removePortForwarder(int port)
static void
startMulticastServiceAnnouncer(int handle)
static void
startMulticastServiceResolver(int handle)
static void
stopMulticastServiceAnnouncer(int handle)
static void
stopMulticastServiceResolver(int handle)
-
Constructor Details
-
Method Details
-
forceLoad
Force load the library.- Throws:
IOException
- if the library failed to load
-
addPortForwarder
-
removePortForwarder
-
createMulticastServiceAnnouncer
public static int createMulticastServiceAnnouncer(String serviceName, String serviceType, int port, String[] keys, String[] values) -
freeMulticastServiceAnnouncer
-
startMulticastServiceAnnouncer
-
stopMulticastServiceAnnouncer
-
getMulticastServiceAnnouncerHasImplementation
-
createMulticastServiceResolver
-
freeMulticastServiceResolver
-
startMulticastServiceResolver
-
stopMulticastServiceResolver
-
getMulticastServiceResolverHasImplementation
-
getMulticastServiceResolverEventHandle
-
getMulticastServiceResolverData
-