public class SnmpFlowRecord extends Data
Modifier and Type | Class and Description |
---|---|
static class |
SnmpFlowRecord.SnmpFlowInput |
static class |
SnmpFlowRecord.SnmpFlowOutput |
Modifier and Type | Field and Description |
---|---|
protected java.nio.ByteBuffer |
data |
static boolean |
FIX_OVERFLOW
Некоторые железки периодически присылают неверный счетчик.
|
protected java.util.Map<java.lang.Integer,SnmpFlowRecord> |
lastSnmp |
static int |
RECORD_SIZE |
protected int |
snmpAdminStatus |
protected long |
snmpInputOctets |
protected int |
snmpInterface |
protected int |
snmpOperStatus |
protected long |
snmpOutputOctets |
protected long |
snmpStatusLastChange |
protected long |
snmpSysUptime
Время в сотых (!)
|
diffServ, dstAddress, dstPort, first, inputInterface, ipv4DstAddress, ipv4SrcAddress, ipv6DstAddress, ipv6SrcAddress, last, milliseconds, nextHop, octets, outputInterface, packets, protocol, srcAddress, srcPort
Constructor and Description |
---|
SnmpFlowRecord(java.util.Map<java.lang.Integer,SnmpFlowRecord> lastSnmp) |
Modifier and Type | Method and Description |
---|---|
void |
fillData(java.nio.ByteBuffer byteBuffer) |
java.nio.ByteBuffer |
getData() |
long |
getMilliseconds() |
int |
snmpGetInteface() |
java.lang.String |
toString() |
copy, getDiffServ, getDstAddress, getDstIpAddress, getDstPort, getFirst, getInputInterface, getLast, getNextHop, getOctets, getOutputInterface, getPackets, getProtocol, getSrcAddress, getSrcIpAddress, getSrcPort
public static final int RECORD_SIZE
protected final java.util.Map<java.lang.Integer,SnmpFlowRecord> lastSnmp
protected java.nio.ByteBuffer data
public static volatile boolean FIX_OVERFLOW
protected int snmpInterface
protected long snmpInputOctets
protected long snmpOutputOctets
protected long snmpSysUptime
protected int snmpAdminStatus
protected int snmpOperStatus
protected long snmpStatusLastChange
public SnmpFlowRecord(java.util.Map<java.lang.Integer,SnmpFlowRecord> lastSnmp)
public long getMilliseconds()
getMilliseconds
in class Data
public int snmpGetInteface()
public void fillData(java.nio.ByteBuffer byteBuffer)
public java.nio.ByteBuffer getData()