Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

EventLoopFd.Callback

class EventLoopFd.Callback

Callback receiving notifications for a file-descriptor-based event loop.

For more information, see vnc_EventLoopFd_Callback in the C API documentation.

Nested classes

Constructor summary

Modifier and Type Method and Description

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

Initializes a new Callback class instance.

Method summary

Modifier and Type Method and Description
void

EventLoopFd.Callback.OnEventUpdated(Int32 fd, EventLoopFd.Event eventMask)

Handles the EventUpdated event. By default, calls the EventLoopFd.Callback.EventUpdated delegate.

void

EventLoopFd.Callback.OnTimerUpdated(Int32 expiryMs)

Handles the TimerUpdated event. By default, calls the EventLoopFd.Callback.TimerUpdated delegate.

Constructors

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

Initializes a new Callback class instance.

For more information, see vnc_EventLoopFd_Callback() in the C API documentation.

Methods

void EventLoopFd.Callback.OnEventUpdated (Int32 fd, EventLoopFd.Event eventMask)

Handles the EventUpdated event. By default, calls the EventLoopFd.Callback.EventUpdated delegate.

void EventLoopFd.Callback.OnTimerUpdated (Int32 expiryMs)

Handles the TimerUpdated event. By default, calls the EventLoopFd.Callback.TimerUpdated delegate.

Fields

EventLoopFd.Callback.EventUpdated

Notification that a file descriptor’s event mask has changed.

For more information, see vnc_EventLoopFd_Callback::eventUpdated in the C API documentation.

EventLoopFd.Callback.TimerUpdated

Notification that the timer expiry period has been updated.

For more information, see vnc_EventLoopFd_Callback::timerUpdated in the C API documentation.

×