Package ch.ntb.usb

Class Usb_Bus


  • public class Usb_Bus
    extends java.lang.Object
    Represents an USB bus.
    This is the root class for the representation of the libusb USB structure. Zero or more devices may be connected to an USB bus.
    • Constructor Summary

      Constructors 
      Constructor Description
      Usb_Bus()  
    • Constructor Detail

      • Usb_Bus

        public Usb_Bus()
    • Method Detail

      • getDevices

        public Usb_Device getDevices()
        Get the first device ojects of the devices linked list.
        Returns:
        the first device ojects of the devices linked list or null
      • getDirname

        public java.lang.String getDirname()
        Returns the systems String representation of the bus.
        Returns:
        the systems String representation of the bus
      • getNext

        public Usb_Bus getNext()
        Returns the next bus object.
        Returns:
        Returns the next bus object or null
      • getPrev

        public Usb_Bus getPrev()
        Returns the previous bus object.
        Returns:
        Returns the previous bus object or null
      • getRootDev

        public Usb_Device getRootDev()
        Get the root device of this bus.
        Returns:
        the root device oject or null
      • getLocation

        public long getLocation()
        Returns the location in the USB bus linked list.
        Returns:
        the location in the USB bus linked list
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object