Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

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

EventLoopWin.Callback(EventLoopWin.Callback.EventUpdatedType eventUpdated = null, EventLoopWin.Callback.TimerUpdatedType timerUpdated = null)

Initializes a new Callback class instance.

Method summary

Modifier and Type Method and Description
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.

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.

×