Class NetStatFFM
java.lang.Object
oshi.driver.mac.net.NetStatFFM
Utility to query NetStat using FFM.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClass to encapsulate IF data for method return. -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<Integer, NetStatFFM.IFdata> queryIFdata(int index) Map data for network interfaces.
-
Method Details
-
queryIFdata
Map data for network interfaces.- Parameters:
index- If positive, limit the map to only return data for this interface index. If negative, returns data for all indices.- Returns:
- a map of
NetStatFFM.IFdataobject indexed by the interface index
-