com.ibm.jusb.os.linux
Class LinuxPipeOsImp
java.lang.Object
com.ibm.jusb.os.DefaultUsbPipeOsImp
com.ibm.jusb.os.linux.LinuxPipeOsImp
- All Implemented Interfaces:
- LinuxRequest.Completion, UsbPipeOsImp
public class LinuxPipeOsImp
- extends DefaultUsbPipeOsImp
- implements UsbPipeOsImp, LinuxRequest.Completion
UsbPipeOsImp implementation for Linux platform.
This must be set up before use.
- Author:
- Dan Streetman
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinuxPipeOsImp
public LinuxPipeOsImp(UsbPipeImp pipe,
com.ibm.jusb.os.linux.LinuxInterfaceOsImp iface)
- Constructor
getUsbPipeImp
public UsbPipeImp getUsbPipeImp()
- Returns:
- The UsbPipeImp for this
setUsbPipeImp
public void setUsbPipeImp(UsbPipeImp pipe)
- Parameters:
pipe
- The UsbPipeImp for this
getLinuxInterfaceOsImp
public com.ibm.jusb.os.linux.LinuxInterfaceOsImp getLinuxInterfaceOsImp()
- Returns:
- The LinuxInterfaceOsImp
setLinuxInterfaceOsImp
public void setLinuxInterfaceOsImp(com.ibm.jusb.os.linux.LinuxInterfaceOsImp iface)
- Parameters:
iface
- The LinuxInterfaceOsImp
asyncSubmit
public void asyncSubmit(UsbIrpImp irp)
throws UsbException
- Asynchronous submission using a UsbIrpImp.
- Specified by:
asyncSubmit
in interface UsbPipeOsImp
- Overrides:
asyncSubmit
in class DefaultUsbPipeOsImp
- Parameters:
irp
- the UsbIrpImp to use for this submission
- Throws:
UsbException
- if error occurs
abortAllSubmissions
public void abortAllSubmissions()
- Stop all submissions in progress
- Specified by:
abortAllSubmissions
in interface UsbPipeOsImp
- Overrides:
abortAllSubmissions
in class DefaultUsbPipeOsImp
linuxRequestComplete
public void linuxRequestComplete(com.ibm.jusb.os.linux.LinuxRequest request)
- Specified by:
linuxRequestComplete
in interface LinuxRequest.Completion
- Parameters:
request
- The LinuxRequest that completed.