oshi.software.os.NetworkParams Maven / Gradle / Ivy
package oshi.software.os;
import java.io.Serializable;
/**
* @author angju
*
*/
public interface NetworkParams extends Serializable {
/**
* @return Gets host name
*/
String getHostName();
/**
* @return Gets domain name
*/
String getDomainName();
/**
* @return Gets DNS servers
*/
String[] getDnsServers();
/**
* @return Gets default gateway(routing destination for 0.0.0.0/0) for IPv4,
* empty string if not defined.
*/
String getIpv4DefaultGateway();
/**
* @return Gets default gateway(routing destination for ::/0) for IPv6,
* empty string if not defined.
*/
String getIpv6DefaultGateway();
}