Learn how to evaluate and integrate the VNC SDK
DirectTcpConnector¶
-
public final class
DirectTcpConnector¶ Connector used to make outgoing TCP connections
Constructor Summary¶
-
Creates a new TCP Connector which is used to make outgoing connections to TCP listeners.
Method Summary¶
| Modifier and Type | Method and Description |
|---|---|
void |
Begins an outgoing TCP connection to the given hostname or IP address. |
void |
Destroys the TCP Connector. |
void |
Set proxy server settings for this TCP Connector. |
Constructors¶
-
public
DirectTcpConnector() throws Library.VncException¶ Creates a new TCP Connector which is used to make outgoing connections to TCP listeners.
For more information, see
vnc_DirectTcpConnector_create().
Methods¶
-
public void
connect(String hostOrIpAddress, int port, ConnectionHandler connectionHandler) throws Library.VncException¶ Begins an outgoing TCP connection to the given hostname or IP address.
For more information, see
vnc_DirectTcpConnector_connect().
-
public void
destroy()¶ Destroys the TCP Connector.
For more information, see
vnc_DirectTcpConnector_destroy().
-
public void
setProxySettings(boolean systemProxy, String proxyUrl) throws Library.VncException¶ Set proxy server settings for this TCP Connector.
For more information, see
vnc_DirectTcpConnector_setProxySettings().