Learn how to evaluate and integrate the VNC SDK
CloudConnector¶
-
public final class
CloudConnector¶ Connector used to join VNC Cloud and establish an outgoing connection.
Constructor Summary¶
CloudConnector(StringlocalCloudAddress,StringlocalCloudPassword)Creates a connector, which is used used to create connections to Cloud addresses.
Method Summary¶
| Modifier and Type | Method and Description |
|---|---|
void |
Begins an outgoing connection to the given Cloud address. |
void |
Destroys the Cloud connector. |
void |
Set the bandwidth limit applied to relayed Cloud connections. |
void |
Sets whether new connections created by the connector wait for the peer to start listening. |
Constructors¶
-
public
CloudConnector(String localCloudAddress, String localCloudPassword) throws Library.VncException¶ Creates a connector, which is used used to create connections to Cloud addresses.
For more information, see
vnc_CloudConnector_create().
Methods¶
-
public void
connect(String peerCloudAddress, ConnectionHandler connectionHandler) throws Library.VncException¶ Begins an outgoing connection to the given Cloud address.
For more information, see
vnc_CloudConnector_connect().
-
public void
destroy()¶ Destroys the Cloud connector.
For more information, see
vnc_CloudConnector_destroy().
-
public void
setRelayBandwidthLimit(int relayBandwidthLimit) throws Library.VncException¶ Set the bandwidth limit applied to relayed Cloud connections.
For more information, see
vnc_CloudConnector_setRelayBandwidthLimit().
-
public void
setWaitForPeer(boolean waitForPeer)¶ Sets whether new connections created by the connector wait for the peer to start listening.
For more information, see
vnc_CloudConnector_setWaitForPeer().