LibUsbDotNet 2.2.8
MonoUsbEventHandler Class
Library ReferenceMonoLibUsbMonoUsbEventHandler
LibUsbDotNet on SourceForge
Manages a static Libusb-1.0 MonoUsbSessionHandle and "handle_events" thread for simplified asynchronous IO.
Declaration Syntax
C#Visual BasicVisual C++
public static class MonoUsbEventHandler
Public NotInheritable Class MonoUsbEventHandler
public ref class MonoUsbEventHandler abstract sealed
Members
All MembersMethodsProperties



IconMemberDescription
Exit()()()()
Stops the handle events thread and closes the session handle.

Init(Int64, Int64)
Initializes the SessionHandle and sets a custom polling interval.

Init()()()()
Initializes the SessionHandle.

IsStopped
False if the handle events thread is running.

Priority
Thread proirity to use for the handle events thread.

SessionHandle
Gets the session handle.

Start()()()()
Starts the handle events thread.

Stop(Boolean)
Stops the handle events thread.

Remarks

This class contains its own MonoUsbSessionHandle that is initialized with one of the overloaded MonoUsbEventHandler.Init() functions.

This class contains a static thread that execute HandleEventsTimeout(MonoUsbSessionHandle, UnixNativeTimeval%). See the Start()()()() and Stop(Boolean) methods.

Inheritance Hierarchy
Object
MonoUsbEventHandler

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)