Class WindowsNetworkParamsFFM
java.lang.Object
oshi.software.common.AbstractNetworkParams
oshi.software.os.windows.WindowsNetworkParamsFFM
- All Implemented Interfaces:
NetworkParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Gets the DNS Servers configured for this machine.Gets the Domain Name of the machine executing OSHI.Gets the HostName of the machine executing OSHI.Gets the default gateway(routing destination for 0.0.0.0/0) for IPv4 connections.Gets default gateway(routing destination for ::/0) for IPv6 connections.Methods inherited from class AbstractNetworkParams
searchGateway, toString
-
Constructor Details
-
WindowsNetworkParamsFFM
public WindowsNetworkParamsFFM()
-
-
Method Details
-
getDnsServers
Description copied from interface:NetworkParamsGets the DNS Servers configured for this machine.- Specified by:
getDnsServersin interfaceNetworkParams- Overrides:
getDnsServersin classAbstractNetworkParams- Returns:
- the DNS servers
-
getDomainName
Description copied from interface:NetworkParamsGets the Domain Name of the machine executing OSHI.- Specified by:
getDomainNamein interfaceNetworkParams- Overrides:
getDomainNamein classAbstractNetworkParams- Returns:
- the domain name
-
getHostName
Description copied from interface:NetworkParamsGets the HostName of the machine executing OSHI.- Specified by:
getHostNamein interfaceNetworkParams- Overrides:
getHostNamein classAbstractNetworkParams- Returns:
- the hostname
-
getIpv4DefaultGateway
Description copied from interface:NetworkParamsGets the default gateway(routing destination for 0.0.0.0/0) for IPv4 connections.- Returns:
- default gateway for IPv4, or empty string if not defined.
-
getIpv6DefaultGateway
Description copied from interface:NetworkParamsGets default gateway(routing destination for ::/0) for IPv6 connections.- Returns:
- default gateway for IPv6, or empty string if not defined.
-