C# Class LibUsbDotNet.LudnMonoLibUsb.MonoUsbEndpointWriter

Implements mono-linux libusb 1.x methods for writing to methods for writing data to a EndpointType.Bulk or EndpointType.Interrupt endpoints.
Inheritance: UsbEndpointWriter
ファイルを表示 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

This method has no effect on write endpoints, andalways returs true.

Reset ( ) : bool

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

Private Methods

Method Description
CreateTransferContext ( ) : UsbTransfer
MonoUsbEndpointWriter ( UsbDevice usbDevice, WriteEndpointID writeEndpointID, 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

This method has no effect on write endpoints, andalways returs true.
public Flush ( ) : bool
return bool

Reset() public method

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