Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

CloudConnector

public final class CloudConnector

Connector used to join VNC Cloud and establish an outgoing connection.

Constructor Summary

  • CloudConnector(String localCloudAddress, String localCloudPassword)

    Creates a connector, which is used used to create connections to Cloud addresses.

Method Summary

Modifier and Type Method and Description
void

connect(String peerCloudAddress, ConnectionHandler connectionHandler)

Begins an outgoing connection to the given Cloud address.

void

destroy()

Destroys the Cloud connector.

void

setRelayBandwidthLimit(int relayBandwidthLimit)

Set the bandwidth limit applied to relayed Cloud connections.

void

setWaitForPeer(boolean waitForPeer)

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().

×