Learn how to evaluate and integrate the VNC SDK
CloudListener.Callback¶
-
vncsdk.CloudListener.
Callback
¶ Callback for a
vncsdk.CloudListener()
.
Method Summary¶
Modifier and Type | Method and Description |
---|---|
Notification that the Cloud listener has stopped listening and is unable to accept any more connections. |
|
Notification that the listener status has changed. |
|
boolean |
Notification to provide address-based filtering of incoming connections. |
Methods¶
-
CloudListener.Callback.
listeningFailed
(listener, cloudError, retryTimeSecs)¶ Notification that the Cloud listener has stopped listening and is unable to accept any more connections.
For more information, see
vnc_CloudListener_Callback::listeningFailed
.Arguments: - listener (
vncsdk.CloudListener
) – - cloudError (string or null) –
- retryTimeSecs (number) –
Returns: Ignored
- listener (
-
CloudListener.Callback.
listeningStatusChanged
(listener, status)¶ Notification that the listener status has changed.
For more information, see
vnc_CloudListener_Callback::listeningStatusChanged
.Arguments: - listener (
vncsdk.CloudListener
) – - status (
vncsdk.CloudListener.Status
) –
Returns: Ignored
- listener (
-
CloudListener.Callback.
filterConnection
(listener, peerCloudAddress)¶ Notification to provide address-based filtering of incoming connections.
For more information, see
vnc_CloudListener_Callback::filterConnection
.Arguments: - listener (
vncsdk.CloudListener
) – - peerCloudAddress (string or null) –
Return type: boolean
- listener (