Learn how to evaluate and integrate the VNC SDK
 
          EventLoop¶
- 
class EventLoop¶
- A container for static methods. - For more information, see - vnc_EventLoopin the C API documentation.
Method summary
| Modifier and Type | Method and Description | 
|---|---|
| staticvoid | Runs the event loop until EventLoop.stop() is called. | 
| staticvoid | Stops the event loop previously started with EventLoop.run(), causing EventLoop.run() to return promptly. | 
| staticBoolean | Returns a boolean flag indicating whether the event loop should stop, and immediately clears it. | 
| staticvoid | 
 Performs an action on the SDK thread, pausing the event loop for the duration of the action. | 
Methods¶
- 
static void EventLoop.Run()¶
- Runs the event loop until EventLoop.stop() is called. - For more information, see - vnc_EventLoop_run()in the C API documentation.
- 
static void EventLoop.Stop()¶
- Stops the event loop previously started with EventLoop.run(), causing EventLoop.run() to return promptly. - For more information, see - vnc_EventLoop_stop()in the C API documentation.
- 
static Boolean EventLoop.ShouldStop()¶
- Returns a boolean flag indicating whether the event loop should stop, and immediately clears it. - For more information, see - vnc_EventLoop_shouldStop()in the C API documentation.