Helper class for maintaining a user defined number of outstanding aync transfers on an endpoint.
| C# | Visual Basic | Visual C++ |
public class UsbTransferQueue
Public Class UsbTransferQueue
public ref class UsbTransferQueue
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| UsbTransferQueue(UsbEndpointBase, Int32, Int32, Int32, Int32) |
Creates a new transfer queue instance.
| |
| Buffer |
Gets a two dimensional array of data buffers. The first index represents the transfer the second represents the data buffer.
| |
| BufferSize |
Size (in bytes) of each data buffer in this transfer queue.
| |
| EndpointBase |
Endpoint for I/O operations.
| |
| Free()()()() |
Cancels and frees all oustanding transfers.
| |
| IsoPacketSize |
For isochronous use only. The iso packet size.
| |
| Item[([( Int32])]) |
Gets the transfer data buffer at the specified index.
| |
| MaxOutstandingIO |
Maximum outstanding I/O operations before waiting for a completion.
This is also the number of data buffers allocated for this transfer queue.
| |
| Timeout |
Time (in milliseconds) to wait for a transfer to complete before returning IoTimedOut.
| |
| Transfer(UsbTransferQueue..::..Handle%) |
Submits transfers until MaxOutstandingIO is reached then waits for the oldest transfer to complete.
|
| Object | |
| UsbTransferQueue | |