Package oshi.hardware.platform.windows
Class WindowsNetworks
java.lang.Object
oshi.hardware.common.AbstractNetworks
oshi.hardware.platform.windows.WindowsNetworks
- All Implemented Interfaces:
Networks
public class WindowsNetworks extends AbstractNetworks
WindowsNetworks class.
-
Constructor Summary
Constructors Constructor Description WindowsNetworks() -
Method Summary
Modifier and Type Method Description static booleanupdateNetworkStats(NetworkIF netIF)Updates interface network statistics on the given interface.Methods inherited from class oshi.hardware.common.AbstractNetworks
getNetworkInterfaces, getNetworks
-
Constructor Details
-
WindowsNetworks
public WindowsNetworks()
-
-
Method Details
-
updateNetworkStats
Updates interface network statistics on the given interface. Statistics include packets and bytes sent and received, and interface speed.- Parameters:
netIF- The interface on which to update statistics- Returns:
trueif the update was successful,falseotherwise.
-