Class NetworkInterfaceDetails

java.lang.Object
com.tccc.kos.core.service.network.beans.NetworkInterface
com.tccc.kos.core.service.network.beans.NetworkInterfaceDetails

public class NetworkInterfaceDetails extends NetworkInterface
Information about an available network interface.
Version:
2024-05-24
  • Constructor Details

    • NetworkInterfaceDetails

      public NetworkInterfaceDetails()
  • Method Details

    • getHwaddress

      public String getHwaddress()
      Return the hardware address of the interface.
    • getMtu

      public int getMtu()
      Return the MTU of the interface.
    • isConfigured

      public boolean isConfigured()
      Returns true if the interface is configured.
    • getEthernet

      public EthernetDetails getEthernet()
      Return the ethernet details if the interface is an ethernet interface.
    • getWifi

      public WifiDetails getWifi()
      Return the wifi details if the interface is a wifi interface.
    • getIp4settings

      public Ip4Settings getIp4settings()
      Return the IPv4 settings if the interface has an IPv4 address.
    • setHwaddress

      public void setHwaddress(String hwaddress)
    • setMtu

      public void setMtu(int mtu)
    • setConfigured

      public void setConfigured(boolean configured)
    • setEthernet

      public void setEthernet(EthernetDetails ethernet)
    • setWifi

      public void setWifi(WifiDetails wifi)
    • setIp4settings

      public void setIp4settings(Ip4Settings ip4settings)