Learn how to evaluate and integrate the VNC SDK
CloudConnector¶
-
class CloudConnector¶ Connector used to join VNC Cloud and establish an outgoing connection.
For more information, see
vnc_CloudConnectorin the C API documentation.
Implements¶
Constructor summary
| Modifier and Type | Method and Description |
|---|---|
Creates a connector, which is used used to create connections to Cloud addresses. |
Method summary
| Modifier and Type | Method and Description |
|---|---|
void |
Destroys the Cloud connector. |
void |
Begins an outgoing connection to the given Cloud address. |
void |
Sets whether new connections created by the connector wait for the peer to start listening. |
void |
Set the bandwidth limit applied to relayed Cloud connections. |
Constructors¶
-
CloudConnector(String localCloudAddress, String localCloudPassword)¶ Creates a connector, which is used used to create connections to Cloud addresses.
For more information, see
vnc_CloudConnector_create()in the C API documentation.
Methods¶
-
void
CloudConnector.Dispose()¶ Destroys the Cloud connector.
For more information, see
vnc_CloudConnector_destroy()in the C API documentation.
-
void
CloudConnector.Connect(String peerCloudAddress, ConnectionHandler connectionHandler)¶ Begins an outgoing connection to the given Cloud address.
For more information, see
vnc_CloudConnector_connect()in the C API documentation.
-
void
CloudConnector.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()in the C API documentation.
-
void
CloudConnector.SetRelayBandwidthLimit(Int32 relayBandwidthLimit)¶ Set the bandwidth limit applied to relayed Cloud connections.
For more information, see
vnc_CloudConnector_setRelayBandwidthLimit()in the C API documentation.