public interface UsbControlPipeOsImp extends UsbPipeOsImp
This is identical to UsbPipeOsImp with added methods using UsbControlPipeOsImp parameters.
If this is driven by a UsbControlPipeImp, it will always pass only UsbControlIrpImps, however it is not guaranteed to pass them to the UsbControlIrpImp-parameter methods. The implementation of this should handle UsbControlIrpImps being passed (as UsbIrpImps) to the UsbIrpImp-parameter methods.
If this is driven by a normal UsbPipeImp, it may pass normal UsbIrpImps (i.e. not UsbControlIrpImps) and so the implementation of this must handle throwing a UsbException for non-UsbControlIrpImps.
| Modifier and Type | Method and Description |
|---|---|
void |
asyncSubmit(UsbControlIrpImp irp)
Asynchronously submits this UsbControlIrpImp to the platform implementation.
|
void |
syncSubmit(UsbControlIrpImp irp)
Synchronously submits this UsbControlIrpImp to the platform implementation.
|
abortAllSubmissions, asyncSubmit, asyncSubmit, close, open, syncSubmit, syncSubmitvoid syncSubmit(UsbControlIrpImp irp) throws UsbException
This is identical to
UsbPipeOsImp.syncSubmit(UsbIrpImp)
except the parameter is a UsbControlIrpImp.
irp - the UsbControlIrpImp to use for this submission.UsbException - If the data transfer was unsuccessful.void asyncSubmit(UsbControlIrpImp irp) throws UsbException
UsbPipeOsImp.asyncSubmit(UsbIrpImp)
except the parameter is a UsbControlIrpImp.
irp - the UsbControlIrpImp to use for this submissionUsbException - If the UsbControlIrpImp was not accepted by the implementation.Copyright © 2014 LSST. All Rights Reserved.