Learn how to evaluate and integrate the VNC SDK
EventLoopWin.Callback¶
-
class EventLoopWin.Callback
¶ Callback receiving notifications for a Windows HANDLE-based event loop.
For more information, see
vnc_EventLoopWin_Callback
in the C API documentation.
Nested classes¶
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 EventUpdated event.
By default, calls the |
void |
Handles the TimerUpdated event.
By default, calls the |
Constructors¶
-
EventLoopWin.Callback
(EventLoopWin.Callback.EventUpdatedType eventUpdated = null, EventLoopWin.Callback.TimerUpdatedType timerUpdated = null)¶ Initializes a new Callback class instance.
For more information, see
vnc_EventLoopWin_Callback()
in the C API documentation.
Methods¶
-
void
EventLoopWin.Callback.OnEventUpdated
(Threading.WaitHandle @event, Boolean add)¶ Handles the EventUpdated event. By default, calls the
EventLoopWin.Callback.EventUpdated
delegate.
-
void
EventLoopWin.Callback.OnTimerUpdated
(Int32 expiryMs)¶ Handles the TimerUpdated event. By default, calls the
EventLoopWin.Callback.TimerUpdated
delegate.
Fields¶
-
EventLoopWin.Callback.EventUpdated
¶ Notification that a Windows event is being added or removed.
For more information, see
vnc_EventLoopWin_Callback::eventUpdated
in the C API documentation.
-
EventLoopWin.Callback.TimerUpdated
¶ Notification that the timer expiry period has been updated.
For more information, see
vnc_EventLoopWin_Callback::timerUpdated
in the C API documentation.