Class SolarisNetworkIF

java.lang.Object
oshi.hardware.common.AbstractNetworkIF
oshi.hardware.platform.unix.solaris.SolarisNetworkIF
All Implemented Interfaces:
oshi.hardware.NetworkIF

@ThreadSafe public final class SolarisNetworkIF extends oshi.hardware.common.AbstractNetworkIF
SolarisNetworks class.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface oshi.hardware.NetworkIF

    oshi.hardware.NetworkIF.IfOperStatus
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    long
     
    long
     
    long
     
    long
     
    static List<oshi.hardware.NetworkIF>
    getNetworks(boolean includeLocalInterfaces)
    Gets all network interfaces on this machine
    long
     
    long
     
    long
     
    long
     
    long
     
    boolean
     

    Methods inherited from class oshi.hardware.common.AbstractNetworkIF

    getDisplayName, getIndex, getIPv4addr, getIPv6addr, getMacaddr, getMTU, getName, getNetworkInterfaces, getPrefixLengths, getSubnetMasks, isKnownVmMacAddr, queryNetworkInterface, toString

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface oshi.hardware.NetworkIF

    getIfAlias, getIfOperStatus, getIfType, getNdisPhysicalMediumType, isConnectorPresent
  • Constructor Details

  • Method Details

    • getNetworks

      public static List<oshi.hardware.NetworkIF> getNetworks(boolean includeLocalInterfaces)
      Gets all network interfaces on this machine
      Parameters:
      includeLocalInterfaces - include local interfaces in the result
      Returns:
      A list of NetworkIF objects representing the interfaces
    • getBytesRecv

      public long getBytesRecv()
    • getBytesSent

      public long getBytesSent()
    • getPacketsRecv

      public long getPacketsRecv()
    • getPacketsSent

      public long getPacketsSent()
    • getInErrors

      public long getInErrors()
    • getOutErrors

      public long getOutErrors()
    • getInDrops

      public long getInDrops()
    • getCollisions

      public long getCollisions()
    • getSpeed

      public long getSpeed()
    • getTimeStamp

      public long getTimeStamp()
    • updateAttributes

      public boolean updateAttributes()