Learn how to evaluate and integrate the VNC SDK
CloudListener.Callback¶
-
class CloudListener.Callback
¶ Callback for a
CloudListener
.For more information, see
vnc_CloudListener_Callback
in the C API documentation.
Nested classes¶
- CloudListener.Callback.ListeningFailedType
- CloudListener.Callback.FilterConnectionType
- CloudListener.Callback.ListeningStatusChangedType
Constructor summary
Modifier and Type | Method and Description |
---|---|
Initializes a new Callback class instance. |
Method summary
Modifier and Type | Method and Description |
---|---|
void |
Handles the ListeningFailed event.
By default, calls the |
Boolean |
Handles the FilterConnection event.
By default, calls the |
void |
Handles the ListeningStatusChanged event.
By default, calls the |
Constructors¶
-
CloudListener.Callback
(CloudListener.Callback.ListeningFailedType listeningFailed = null, CloudListener.Callback.FilterConnectionType filterConnection = null, CloudListener.Callback.ListeningStatusChangedType listeningStatusChanged = null)¶ Initializes a new Callback class instance.
For more information, see
vnc_CloudListener_Callback()
in the C API documentation.
Methods¶
-
void
CloudListener.Callback.OnListeningFailed
(CloudListener listener, String cloudError, Int32 retryTimeSecs)¶ Handles the ListeningFailed event. By default, calls the
CloudListener.Callback.ListeningFailed
delegate.
-
Boolean
CloudListener.Callback.OnFilterConnection
(CloudListener listener, String peerCloudAddress)¶ Handles the FilterConnection event. By default, calls the
CloudListener.Callback.FilterConnection
delegate.
-
void
CloudListener.Callback.OnListeningStatusChanged
(CloudListener listener, CloudListener.Status status)¶ Handles the ListeningStatusChanged event. By default, calls the
CloudListener.Callback.ListeningStatusChanged
delegate.
Fields¶
-
CloudListener.Callback.ListeningFailed
¶ Notification that the Cloud listener has stopped listening and is unable to accept any more connections.
For more information, see
vnc_CloudListener_Callback::listeningFailed
in the C API documentation.
-
CloudListener.Callback.FilterConnection
¶ Notification to provide address-based filtering of incoming connections.
For more information, see
vnc_CloudListener_Callback::filterConnection
in the C API documentation.
-
CloudListener.Callback.ListeningStatusChanged
¶ Notification that the listener status has changed.
For more information, see
vnc_CloudListener_Callback::listeningStatusChanged
in the C API documentation.