C# Class LibUsbDotNet.LudnMonoLibUsb.MonoUsbEndpointReader

Implements mono-linux libusb 1.x methods for reading data from a EndpointType.Bulk or EndpointType.Interrupt endpoints.
Inheritance: UsbEndpointReader
Datei anzeigen Open project: arvydas/BlinkStickDotNet Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
CreateTransferContext ( ) : UsbTransfer
MonoUsbEndpointReader ( UsbDevice usbDevice, int readBufferSize, ReadEndpointID readEndpointID, EndpointType endpointType ) : System

Method Details

Dispose() public method

Frees resources associated with the endpoint. Once disposed this class cannot be used.
public Dispose ( ) : void
return void

Flush() public method

Calling this methods is that same as calling UsbEndpointReader.ReadFlush
public Flush ( ) : bool
return bool

Reset() public method

Cancels pending transfers and clears the halt condition on an enpoint.
public Reset ( ) : bool
return bool