C# Класс LibUsbDotNet.LudnMonoLibUsb.MonoUsbEndpointReader

Implements mono-linux libusb 1.x methods for reading data from a EndpointType.Bulk or EndpointType.Interrupt endpoints.
Наследование: UsbEndpointReader
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void

Frees resources associated with the endpoint. Once disposed this class cannot be used.

Flush ( ) : bool

Calling this methods is that same as calling UsbEndpointReader.ReadFlush

Reset ( ) : bool

Cancels pending transfers and clears the halt condition on an enpoint.

Приватные методы

Метод Описание
CreateTransferContext ( ) : UsbTransfer
MonoUsbEndpointReader ( UsbDevice usbDevice, int readBufferSize, ReadEndpointID readEndpointID, EndpointType endpointType ) : System

Описание методов

Dispose() публичный Метод

Frees resources associated with the endpoint. Once disposed this class cannot be used.
public Dispose ( ) : void
Результат void

Flush() публичный Метод

Calling this methods is that same as calling UsbEndpointReader.ReadFlush
public Flush ( ) : bool
Результат bool

Reset() публичный Метод

Cancels pending transfers and clears the halt condition on an enpoint.
public Reset ( ) : bool
Результат bool