Package oshi.driver.mac.net
Class NetStat.IFdata
- java.lang.Object
-
- oshi.driver.mac.net.NetStat.IFdata
-
- Enclosing class:
- NetStat
@Immutable public static class NetStat.IFdata extends java.lang.Object
Class to encapsulate IF data for method return
-
-
Constructor Summary
Constructors Constructor Description IFdata(int ifType, long oPackets, long iPackets, long oBytes, long iBytes, long oErrors, long iErrors, long collisions, long iDrops, long speed, long timeStamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCollisions()
long
getIBytes()
long
getIDrops()
long
getIErrors()
int
getIfType()
long
getIPackets()
long
getOBytes()
long
getOErrors()
long
getOPackets()
long
getSpeed()
long
getTimeStamp()
-
-
-
Field Detail
-
ifType
private final int ifType
-
oPackets
private final long oPackets
-
iPackets
private final long iPackets
-
oBytes
private final long oBytes
-
iBytes
private final long iBytes
-
oErrors
private final long oErrors
-
iErrors
private final long iErrors
-
collisions
private final long collisions
-
iDrops
private final long iDrops
-
speed
private final long speed
-
timeStamp
private final long timeStamp
-
-
Method Detail
-
getIfType
public int getIfType()
- Returns:
- the ifType
-
getOPackets
public long getOPackets()
- Returns:
- the oPackets
-
getIPackets
public long getIPackets()
- Returns:
- the iPackets
-
getOBytes
public long getOBytes()
- Returns:
- the oBytes
-
getIBytes
public long getIBytes()
- Returns:
- the iBytes
-
getOErrors
public long getOErrors()
- Returns:
- the oErrors
-
getIErrors
public long getIErrors()
- Returns:
- the iErrors
-
getCollisions
public long getCollisions()
- Returns:
- the collisions
-
getIDrops
public long getIDrops()
- Returns:
- the iDrops
-
getSpeed
public long getSpeed()
- Returns:
- the speed
-
getTimeStamp
public long getTimeStamp()
- Returns:
- the timeStamp
-
-