Uses of Class
javax.usb.UsbException

Packages that use UsbException
com.ibm.jusb   
com.ibm.jusb.os   
com.ibm.jusb.os.linux   
com.ibm.jusb.tools.swing   
com.mcreations.usb.windows   
javax.usb Core interfaces and classes modeling USB devices, descriptors, communication pipes and requests/operations. 
javax.usb.event Classes and interfaces modeling an event model (similar to JavaBeans event model) for USB devices and pipes. 
javax.usb.util Various utility classes and interfaces that are used by other classes and interfaces in the javax.usb specification. 
org.lsst.ccs.drivers.usb   
 

Uses of UsbException in com.ibm.jusb
 

Methods in com.ibm.jusb that throw UsbException
 void UsbHubImp.addUsbDeviceImp(UsbDeviceImp usbDeviceImp, byte portNumber)
          Attach this device to this hub at the specified port.
 UsbIrp UsbControlPipeImp.asyncSubmit(byte[] data)
          Control pipes cannot handle raw byte[] submissions.
 UsbIrp UsbPipeImp.asyncSubmit(byte[] data)
          Asynchonously submits this byte[] array to the UsbPipe.
 void UsbPipeImp.asyncSubmit(List list)
          Asynchronous submission using a List of UsbIrps.
 void UsbDeviceImp.asyncSubmit(List list)
          Submit a List of UsbControlIrps asynchronously to the Default Control Pipe.
 void UsbDeviceImp.asyncSubmit(UsbControlIrp irp)
          Submit a UsbControlIrp asynchronously to the Default Control Pipe.
 void UsbPipeImp.asyncSubmit(UsbIrp usbIrp)
          Asynchronous submission using a UsbIrp.
static void UsbControlIrpImp.checkUsbControlIrp(UsbControlIrp irp)
          Check the specified UsbControlIrp.
static void UsbIrpImp.checkUsbIrp(UsbIrp irp)
          Check the specified UsbIrp.
 void UsbInterfaceImp.claim()
          Claim this interface.
 void UsbInterfaceImp.claim(UsbInterfacePolicy policy)
          Claim this interface using a UsbInterfacePolicy.
 void UsbPipeImp.close()
          Closes this UsbPipe.
 void VirtualRootUsbHubImp.connect(UsbHubImp hub, byte portNumber)
          No connect operation
 void UsbDeviceImp.connect(UsbHubImp hub, byte portNumber)
          Connect to the parent UsbHubImp.
 String UsbConfigurationImp.getConfigurationString()
           
 String UsbInterfaceImp.getInterfaceString()
           
protected  short UsbDeviceImp.getLangId()
           
 String UsbDeviceImp.getManufacturerString()
           
 String UsbDeviceImp.getProductString()
           
 String UsbDeviceImp.getSerialNumberString()
           
 String UsbDeviceImp.getString(byte index)
           
 UsbStringDescriptor UsbDeviceImp.getUsbStringDescriptor(byte index)
           
 void UsbPipeImp.open()
          Opens this UsbPipe.
 void UsbInterfaceImp.release()
          Release this interface.
protected  void UsbDeviceImp.requestUsbStringDescriptor(byte index)
          Update the UsbStringDescriptor at the specified index.
 int UsbControlPipeImp.syncSubmit(byte[] data)
          Control pipes cannot handle raw byte[] submissions.
 int UsbPipeImp.syncSubmit(byte[] data)
          Synchonously submits this byte[] array to the UsbPipe.
 void UsbPipeImp.syncSubmit(List list)
          Synchronous submission using a List of UsbIrps.
 void UsbDeviceImp.syncSubmit(List list)
          Submit a List of UsbControlIrps synchronously to the Default Control Pipe.
 void UsbDeviceImp.syncSubmit(UsbControlIrp irp)
          Submit a UsbControlIrp synchronously to the Default Control Pipe.
 void UsbPipeImp.syncSubmit(UsbIrp usbIrp)
          Synchronous submission using a UsbIrp.
protected  List UsbDeviceImp.usbControlIrpListToUsbControlIrpImpList(List list)
          Convert a List of UsbControlIrps to a List of UsbControlIrpImps.
protected  UsbControlIrpImp UsbDeviceImp.usbControlIrpToUsbControlIrpImp(UsbControlIrp usbControlIrp)
          Convert a UsbControlIrp to a UsbControlIrpImp.
protected  List UsbPipeImp.usbIrpListToUsbIrpImpList(List list)
           
protected  UsbIrpImp UsbControlPipeImp.usbIrpToUsbIrpImp(UsbIrp irp)
          Convert a UsbControlIrp to UsbControlIrpImp.
protected  UsbIrpImp UsbPipeImp.usbIrpToUsbIrpImp(UsbIrp irp)
          Convert a UsbIrp to UsbIrpImp.
 

Uses of UsbException in com.ibm.jusb.os
 

Methods in com.ibm.jusb.os that throw UsbException
 void DefaultUsbPipeOsImp.asyncSubmit(List list)
          Asynchronously submits a List of UsbIrpImps to the platform implementation.
 void UsbPipeOsImp.asyncSubmit(List list)
          Asynchronously submits a List of UsbIrpImps to the platform implementation.
 void UsbDeviceOsImp.asyncSubmit(List list)
          Asynchronously submit a List of UsbControlIrpImps.
 void DefaultUsbDeviceOsImp.asyncSubmit(List list)
          Asynchronously submit a List of UsbControlIrpImps.
 void DefaultUsbControlPipeOsImp.asyncSubmit(UsbControlIrpImp irp)
          Asynchronously submits this UsbControlIrpImp to the platform implementation.
 void UsbControlPipeOsImp.asyncSubmit(UsbControlIrpImp irp)
          Asynchronously submits this UsbControlIrpImp to the platform implementation.
 void UsbDeviceOsImp.asyncSubmit(UsbControlIrpImp controlUsbIrpImp)
          Asynchronously submit a UsbControlIrpImp.
 void DefaultUsbDeviceOsImp.asyncSubmit(UsbControlIrpImp usbControlIrpImp)
          Asynchronously submit a UsbControlIrpImp.
 void DefaultUsbControlPipeOsImp.asyncSubmit(UsbIrpImp irp)
          Asynchronously submits this UsbIrpImp to the platform implementation.
 void DefaultUsbPipeOsImp.asyncSubmit(UsbIrpImp irp)
          Asynchronously submits this UsbIrpImp to the platform implementation.
 void UsbPipeOsImp.asyncSubmit(UsbIrpImp irp)
          Asynchronously submits this UsbIrpImp to the platform implementation.
 void DefaultUsbInterfaceOsImp.claim()
          Claim this interface.
 void UsbInterfaceOsImp.claim()
          Claim this interface.
 void DefaultUsbInterfaceOsImp.claim(UsbInterfacePolicy policy)
          Claim this interface using a UsbInterfacePolicy.
 void UsbInterfaceOsImp.claim(UsbInterfacePolicy policy)
          Claim this interface using a UsbInterfacePolicy.
 UsbHub AbstractUsbServices.getRootUsbHub()
           
 void DefaultUsbPipeOsImp.open()
          Open this pipe.
 void UsbPipeOsImp.open()
          Open this pipe.
 void DefaultUsbInterfaceOsImp.release()
          Release this interface.
 void UsbInterfaceOsImp.release()
          Release this interface.
 void DefaultUsbPipeOsImp.syncSubmit(List list)
          Synchronously submits a List of UsbIrpImps to the platform implementation.
 void UsbPipeOsImp.syncSubmit(List list)
          Synchronously submits a List of UsbIrpImps to the platform implementation.
 void UsbDeviceOsImp.syncSubmit(List list)
          Synchronously submit a List of UsbControlIrpImps.
 void DefaultUsbDeviceOsImp.syncSubmit(List list)
          Synchronously submit a List of UsbControlIrpImps.
 void DefaultUsbControlPipeOsImp.syncSubmit(UsbControlIrpImp irp)
          Synchronously submits this UsbControlIrpImp to the platform implementation.
 void UsbControlPipeOsImp.syncSubmit(UsbControlIrpImp irp)
          Synchronously submits this UsbControlIrpImp to the platform implementation.
 void UsbDeviceOsImp.syncSubmit(UsbControlIrpImp controlUsbIrpImp)
          Synchronously submit a UsbControlIrpImp.
 void DefaultUsbDeviceOsImp.syncSubmit(UsbControlIrpImp usbControlIrpImp)
          Synchronously submit a UsbControlIrpImp.
 void DefaultUsbControlPipeOsImp.syncSubmit(UsbIrpImp irp)
          Synchronously submit a UsbControlIrpImp.
 void DefaultUsbPipeOsImp.syncSubmit(UsbIrpImp irp)
          Synchronously submits this UsbIrpImp to the platform implementation.
 void UsbPipeOsImp.syncSubmit(UsbIrpImp irp)
          Synchronously submits this UsbIrpImp to the platform implementation.
 

Uses of UsbException in com.ibm.jusb.os.linux
 

Methods in com.ibm.jusb.os.linux that throw UsbException
 void LinuxPipeOsImp.asyncSubmit(UsbIrpImp irp)
          Asynchronous submission using a UsbIrpImp.
 UsbHub LinuxUsbServices.getRootUsbHub()
           
protected  com.ibm.jusb.os.linux.LinuxPipeRequest LinuxPipeOsImp.usbIrpImpToLinuxPipeRequest(UsbIrpImp usbIrpImp)
          Create a LinuxPipeRequest to wrap a UsbIrpImp.
 

Constructors in com.ibm.jusb.os.linux that throw UsbException
LinuxUsbServices()
           
 

Uses of UsbException in com.ibm.jusb.tools.swing
 

Methods in com.ibm.jusb.tools.swing with parameters of type UsbException
protected  void UsbDevicePanel.gotError(UsbException uE)
           
protected  void UsbPipePanel.gotError(UsbException uE)
           
 

Methods in com.ibm.jusb.tools.swing that throw UsbException
 void UsbControlIrpPanel.submit(UsbDevice device)
           
 void UsbIrpPanel.submit(UsbPipe pipe)
           
 

Uses of UsbException in com.mcreations.usb.windows
 

Methods in com.mcreations.usb.windows that throw UsbException
 void WindowsPipeOsImp.asyncSubmit(UsbIrpImp irp)
          Delegates to the WindowsDeviceOsImp of this pipe.
 UsbHub WindowsUsbServices.getRootUsbHub()
           
 void WindowsPipeOsImp.open()
          Opens the corresponding device of this pipe to get a libusb device handle.
 void WindowsPipeOsImp.syncSubmit(UsbIrpImp irp)
           
 

Constructors in com.mcreations.usb.windows that throw UsbException
WindowsUsbServices()
           
 

Uses of UsbException in javax.usb
 

Subclasses of UsbException in javax.usb
 class UsbAbortException
          Exception indicating a submission was aborted.
 class UsbBabbleException
          Exception indicating a Babble error.
 class UsbBitStuffException
          Exception indicating a Bit-Stuff violation.
 class UsbClaimException
          Exception indicating an UsbInterface claim state prevents the current operation.
 class UsbCRCException
          Exception indicating a CRC error.
 class UsbNativeClaimException
          Exception indicating an UsbInterface is already natively claimed.
 class UsbPIDException
          Exception indicating a PID error.
 class UsbPlatformException
          Exception indicating a platform-specific UsbException.
 class UsbShortPacketException
          Exception indicating a short packet was detected.
 class UsbStallException
          Exception indicating a stall.
 

Methods in javax.usb that return UsbException
 UsbException UsbIrp.getUsbException()
          Get the UsbException.
 

Methods in javax.usb with parameters of type UsbException
 void UsbIrp.setUsbException(UsbException usbException)
          Set the UsbException.
 

Methods in javax.usb that throw UsbException
 UsbIrp UsbPipe.asyncSubmit(byte[] data)
          Asynchonously submit a byte[] to the UsbPipe.
 void UsbPipe.asyncSubmit(List list)
          Asynchonously submit a List of UsbIrps to the UsbPipe.
 void UsbDevice.asyncSubmit(List list)
          Submit a List of UsbControlIrps asynchronously to the Default Control Pipe.
 void UsbDevice.asyncSubmit(UsbControlIrp irp)
          Submit a UsbControlIrp asynchronously to the Default Control Pipe.
 void UsbPipe.asyncSubmit(UsbIrp irp)
          Asynchonously submit a UsbIrp to the UsbPipe.
 void UsbInterface.claim()
          Claim this interface.
 void UsbInterface.claim(UsbInterfacePolicy policy)
          Claim this interface using a UsbInterfacePolicy.
 void UsbPipe.close()
          Close this UsbPipe.
 String UsbConfiguration.getConfigurationString()
          Get the configuration String.
 String UsbInterface.getInterfaceString()
          Get the interface String.
 String UsbDevice.getManufacturerString()
          Get the manufacturer String.
 String UsbDevice.getProductString()
          Get the product String.
static Properties UsbHostManager.getProperties()
          Get the Properties loaded from the properties file.
 UsbHub UsbServices.getRootUsbHub()
          Get the virtual UsbHub to which all physical Host Controller UsbHubs are attached.
 String UsbDevice.getSerialNumberString()
          Get the serial number String.
 String UsbDevice.getString(byte index)
          Get the String from the specified string descriptor.
static UsbServices UsbHostManager.getUsbServices()
          Get the UsbServices implementation.
 UsbStringDescriptor UsbDevice.getUsbStringDescriptor(byte index)
          Get the specified string descriptor.
 void UsbPipe.open()
          Open this UsbPipe.
 void UsbInterface.release()
          Release this interface.
 int UsbPipe.syncSubmit(byte[] data)
          Synchonously submit a byte[] to the UsbPipe.
 void UsbPipe.syncSubmit(List list)
          Synchonously submit a List of UsbIrps to the UsbPipe.
 void UsbDevice.syncSubmit(List list)
          Submit a List of UsbControlIrps synchronously to the Default Control Pipe.
 void UsbDevice.syncSubmit(UsbControlIrp irp)
          Submit a UsbControlIrp synchronously to the Default Control Pipe.
 void UsbPipe.syncSubmit(UsbIrp irp)
          Synchonously submit a UsbIrp to the UsbPipe.
 

Uses of UsbException in javax.usb.event
 

Methods in javax.usb.event that return UsbException
 UsbException UsbPipeErrorEvent.getUsbException()
          Get the associated UsbException.
 UsbException UsbDeviceErrorEvent.getUsbException()
          Get the associated UsbException.
 

Constructors in javax.usb.event with parameters of type UsbException
UsbPipeErrorEvent(UsbPipe source, UsbException uE)
          Constructor.
 

Uses of UsbException in javax.usb.util
 

Fields in javax.usb.util declared as UsbException
protected  UsbException DefaultUsbIrp.usbException
           
 

Methods in javax.usb.util that return UsbException
 UsbException DefaultUsbIrp.getUsbException()
          Get the UsbException.
 

Methods in javax.usb.util with parameters of type UsbException
 void DefaultUsbIrp.setUsbException(UsbException exception)
          Set the UsbException.
 

Methods in javax.usb.util that throw UsbException
 UsbIrp UsbUtil.SynchronizedUsbPipe.asyncSubmit(byte[] data)
           
 void UsbUtil.SynchronizedUsbDevice.asyncSubmit(List list)
           
 void UsbUtil.SynchronizedUsbPipe.asyncSubmit(List list)
           
 void UsbUtil.SynchronizedUsbDevice.asyncSubmit(UsbControlIrp irp)
           
 void UsbUtil.SynchronizedUsbPipe.asyncSubmit(UsbIrp irp)
           
 void StandardRequest.clearFeature(byte recipient, short featureSelector, short target)
          Clear Feature.
static void StandardRequest.clearFeature(UsbDevice usbDevice, byte recipient, short featureSelector, short target)
          Clear Feature.
 void UsbUtil.SynchronizedUsbPipe.close()
           
 byte StandardRequest.getConfiguration()
          Get Configuration.
static byte StandardRequest.getConfiguration(UsbDevice usbDevice)
          Get Configuration.
 int StandardRequest.getDescriptor(byte type, byte index, short langid, byte[] data)
          Get Descriptor.
static int StandardRequest.getDescriptor(UsbDevice usbDevice, byte type, byte index, short langid, byte[] data)
          Get Descriptor.
 byte StandardRequest.getInterface(short interfaceNumber)
          Get Interface.
static byte StandardRequest.getInterface(UsbDevice usbDevice, short interfaceNumber)
          Get Interface.
 String UsbUtil.SynchronizedUsbDevice.getManufacturerString()
           
 String UsbUtil.SynchronizedUsbDevice.getProductString()
           
 String UsbUtil.SynchronizedUsbDevice.getSerialNumberString()
           
 short StandardRequest.getStatus(byte recipient, short target)
          Get Status.
static short StandardRequest.getStatus(UsbDevice usbDevice, byte recipient, short target)
          Get Status.
 String UsbUtil.SynchronizedUsbDevice.getString(byte index)
           
 UsbStringDescriptor UsbUtil.SynchronizedUsbDevice.getUsbStringDescriptor(byte index)
           
 void UsbUtil.SynchronizedUsbPipe.open()
           
 void StandardRequest.setAddress(short deviceAddress)
          Set Address.
static void StandardRequest.setAddress(UsbDevice usbDevice, short deviceAddress)
          Set Address.
 void StandardRequest.setConfiguration(short configurationValue)
          Set Configuration.
static void StandardRequest.setConfiguration(UsbDevice usbDevice, short configurationValue)
          Set Configuration.
 int StandardRequest.setDescriptor(byte type, byte index, short langid, byte[] data)
          Set Descriptor.
static int StandardRequest.setDescriptor(UsbDevice usbDevice, byte type, byte index, short langid, byte[] data)
          Set Descriptor.
 void StandardRequest.setFeature(byte recipient, short featureSelector, short target)
          Set Feature.
static void StandardRequest.setFeature(UsbDevice usbDevice, byte recipient, short featureSelector, short target)
          Set Feature.
 void StandardRequest.setInterface(short interfaceNumber, short alternateSetting)
          Set Interface.
static void StandardRequest.setInterface(UsbDevice usbDevice, short interfaceNumber, short alternateSetting)
          Set Interface.
 short StandardRequest.synchFrame(short endpointAddress)
          Synch Frame.
static short StandardRequest.synchFrame(UsbDevice usbDevice, short endpointAddress)
          Synch Frame.
 int UsbUtil.SynchronizedUsbPipe.syncSubmit(byte[] data)
           
 void UsbUtil.SynchronizedUsbDevice.syncSubmit(List list)
           
 void UsbUtil.SynchronizedUsbPipe.syncSubmit(List list)
           
 void UsbUtil.SynchronizedUsbDevice.syncSubmit(UsbControlIrp irp)
           
 void UsbUtil.SynchronizedUsbPipe.syncSubmit(UsbIrp irp)
           
 

Uses of UsbException in org.lsst.ccs.drivers.usb
 

Subclasses of UsbException in org.lsst.ccs.drivers.usb
 class UsbTimeoutException
           
 

Methods in org.lsst.ccs.drivers.usb that throw UsbException
 void UsbComm.claim(int iface, boolean force)
          Claims an interface
 void UsbCommPipe.close()
          Closes the pipe
 UsbDevice UsbComm.findDevice(int vid, int pid)
          Finds a USB device and sets it as current
 UsbDevice UsbComm.findDevice(int vid, int pid, int index)
          Finds a USB device and sets it as current
 UsbDevice UsbComm.findDevice(int vid, int pid, String serial)
          Finds a USB device and sets it as current
 UsbDevice UsbComm.findDevice(int vid, int pid, String serial, int index)
          Finds a USB device and sets it as current
static List UsbComm.findDevices(int vid, int pid, String serial)
          Finds USB devices
 int UsbCommPipe.flush()
          Flushes any pending read data
 UsbCommPipe UsbComm.open(int iface, int epAddr)
          Opens a connection to a device's endpoint
 int UsbCommPipe.read(byte[] data, int timeout)
          Reads data from the pipe
 int UsbCommPipe.read(byte[] data, int offs, int leng, int timeout)
          Reads data from the pipe
 int UsbComm.read(int type, int rqst, int value, int index, byte[] data, int timeout)
          Reads data from the control endpoint
 int UsbComm.read(int type, int rqst, int value, int index, byte[] data, int offs, int leng, int timeout)
          Reads data from the control endpoint
 void UsbComm.release(int iface)
          Releases an interface
 void UsbComm.setConfiguration(int cfgNum)
          Sets the active USB configuration for the current device
 void UsbComm.setDevice(UsbDevice device)
          Sets the current USB device
 void UsbComm.setInterface(int iface, int setting)
          Sets the active setting of the specified USB interface of the current device
 int UsbCommPipe.write(byte[] data)
          Writes data to the pipe
 int UsbCommPipe.write(byte[] data, int offs, int leng)
          Writes data to the pipe
 int UsbComm.write(int type, int rqst, int value, int index, byte[] data)
          Writes data to the control endpoint
 int UsbComm.write(int type, int rqst, int value, int index, byte[] data, int offs, int leng)
          Writes data to the control endpoint
 

Constructors in org.lsst.ccs.drivers.usb that throw UsbException
TestUsbComm(boolean dbg)
          Constructor
UsbComm()
          Constructor
UsbCommPipe(UsbPipe pipe)
          Constructor
 



Copyright © 2012 LSST. All Rights Reserved.