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
Afficher le fichier Open project: arvydas/BlinkStickDotNet Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
CreateTransferContext ( ) : UsbTransfer
MonoUsbEndpointWriter ( UsbDevice usbDevice, WriteEndpointID writeEndpointID, EndpointType endpointType ) : System

Method Details

Dispose() public méthode

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

Flush() public méthode

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

Reset() public méthode

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