Class NetStat.IFdata

java.lang.Object
oshi.driver.mac.net.NetStat.IFdata
Enclosing class:
NetStat

@Immutable public static class NetStat.IFdata extends Object
Class to encapsulate IF data for method return
  • Method Details

    • getIfType

      public int getIfType()
      Returns:
      the ifType
    • getOPackets

      public long getOPackets()
      Returns:
      the oPackets
    • getIPackets

      public long getIPackets()
      Returns:
      the iPackets
    • getOBytes

      public long getOBytes()
      Returns:
      the oBytes
    • getIBytes

      public long getIBytes()
      Returns:
      the iBytes
    • getOErrors

      public long getOErrors()
      Returns:
      the oErrors
    • getIErrors

      public long getIErrors()
      Returns:
      the iErrors
    • getCollisions

      public long getCollisions()
      Returns:
      the collisions
    • getIDrops

      public long getIDrops()
      Returns:
      the iDrops
    • getSpeed

      public long getSpeed()
      Returns:
      the speed
    • getTimeStamp

      public long getTimeStamp()
      Returns:
      the timeStamp