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 |
---|---|
bool |
Notification to provide address-based filtering of incoming connections. |
Notification that the Cloud listener has stopped listening and is unable to accept any more connections. |
|
Notification that the listener status has changed. |
Methods¶
-
CloudListener.Callback.
filter_connection
(listener, peer_cloud_address)¶ Notification to provide address-based filtering of incoming connections.
For more information, see
vnc_CloudListener_Callback::filterConnection
.Parameters: - listener (
vncsdk.CloudListener
) – - peer_cloud_address (str or None) –
Return type: bool
- listener (
-
CloudListener.Callback.
listening_failed
(listener, cloud_error, retry_time_secs)¶ Notification that the Cloud listener has stopped listening and is unable to accept any more connections.
For more information, see
vnc_CloudListener_Callback::listeningFailed
.Parameters: - listener (
vncsdk.CloudListener
) – - cloud_error (str or None) –
- retry_time_secs (int) –
Returns: None
- listener (
-
CloudListener.Callback.
listening_status_changed
(listener, status)¶ Notification that the listener status has changed.
For more information, see
vnc_CloudListener_Callback::listeningStatusChanged
.Parameters: - listener (
vncsdk.CloudListener
) – - status (
vncsdk.CloudListener.Status
) –
Returns: None
- listener (