Learn how to evaluate and integrate the VNC SDK
DirectUdpConnector¶
-
public final class
DirectUdpConnector
¶ Connector used to make outgoing UDP connections
Constructor Summary¶
-
Creates a new UDP Connector which is used to make outgoing connections to UDP listeners.
Method Summary¶
Modifier and Type | Method and Description |
---|---|
void |
Begins an outgoing UDP connection to the given hostname or IP address. |
void |
Destroys the UDP Connector. |
Constructors¶
-
public
DirectUdpConnector
() throws Library.VncException¶ Creates a new UDP Connector which is used to make outgoing connections to UDP listeners.
For more information, see
vnc_DirectUdpConnector_create()
.
Methods¶
-
public void
connect
(String hostOrIpAddress, int port, ConnectionHandler connectionHandler) throws Library.VncException¶ Begins an outgoing UDP connection to the given hostname or IP address.
For more information, see
vnc_DirectUdpConnector_connect()
.
-
public void
destroy
()¶ Destroys the UDP Connector.
For more information, see
vnc_DirectUdpConnector_destroy()
.