Class Address

java.lang.Object
javaforce.vm.Address
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Controller, Device, Network

public class Address extends Object implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • Address

      public Address()
    • Address

      public Address(String domain, String bus, String slot, String function)
      PCI Address
      Parameters:
      domain - = 0x0000
      bus - = 0x00
      slot - = 0x01
      function - = 0x0
    • Address

      public Address(String bus, String port)
      USB Address
      Parameters:
      bus - = 1
      port - = 1
  • Method Details

    • setPCIAddress

      public void setPCIAddress(String domain, String bus, String slot, String function)
    • setUSBAddress

      public void setUSBAddress(String bus, String port)
    • setAutoAddress

      public void setAutoAddress()
    • getType

      public String getType()
    • getDomain

      public String getDomain()
    • getBus

      public String getBus(boolean pci)
    • getSlot

      public String getSlot()
    • getFunction

      public String getFunction()
    • getPort

      public String getPort()
    • cleanHex

      public static String cleanHex(String str, int max)
    • cleanDec

      public static String cleanDec(String str, int max)
    • getAddressXML

      public String getAddressXML()