Package oshi.software.common
Class AbstractInternetProtocolStats
java.lang.Object
oshi.software.common.AbstractInternetProtocolStats
- All Implemented Interfaces:
InternetProtocolStats
- Direct Known Subclasses:
AixInternetProtocolStats,FreeBsdInternetProtocolStats,LinuxInternetProtocolStats,MacInternetProtocolStats,OpenBsdInternetProtocolStats,SolarisInternetProtocolStats,WindowsInternetProtocolStats
public abstract class AbstractInternetProtocolStats extends java.lang.Object implements InternetProtocolStats
-
Nested Class Summary
Nested classes/interfaces inherited from interface oshi.software.os.InternetProtocolStats
InternetProtocolStats.IPConnection, InternetProtocolStats.TcpState, InternetProtocolStats.TcpStats, InternetProtocolStats.UdpStats -
Constructor Summary
Constructors Constructor Description AbstractInternetProtocolStats() -
Method Summary
Modifier and Type Method Description java.util.List<InternetProtocolStats.IPConnection>getConnections()Gets a list of TCP and UDP connections.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface oshi.software.os.InternetProtocolStats
getTCPv4Stats, getTCPv6Stats, getUDPv4Stats, getUDPv6Stats
-
Constructor Details
-
AbstractInternetProtocolStats
public AbstractInternetProtocolStats()
-
-
Method Details
-
getConnections
Description copied from interface:InternetProtocolStatsGets a list of TCP and UDP connections.- Specified by:
getConnectionsin interfaceInternetProtocolStats- Returns:
- A list of
InternetProtocolStats.IPConnectionobjects for TCP and UDP connections.
-