public interface Flow
Modifier and Type | Interface and Description |
---|---|
static class |
Flow.Direction |
static class |
Flow.NetflowVersion |
static class |
Flow.SamplingAlgorithm |
Modifier and Type | Field and Description |
---|---|
static int |
IPV4_PROTOCOL_VERSION |
static int |
IPV6_PROTOCOL_VERSION |
Modifier and Type | Method and Description |
---|---|
Long |
getBytes()
Number of bytes transferred in the flow.
|
Flow.Direction |
getDirection()
Direction of the flow (egress vs ingress)
|
String |
getDstAddr()
Destination address.
|
Integer |
getDstAs()
Destination autonomous system (AS).
|
Integer |
getDstMaskLen()
The number of contiguous bits in the source address subnet mask.
|
Integer |
getDstPort()
Destination port.
|
Integer |
getEngineId()
Slot number of the flow-switching engine.
|
Integer |
getEngineType()
Type of flow-switching engine.
|
Long |
getFirstSwitched()
Unix timestamp in ms at which the first packet
associated with this flow was switched.
|
int |
getFlowRecords()
Number of flow records in the associated packet.
|
long |
getFlowSeqNum()
Flow packet sequence number.
|
Integer |
getInputSnmp()
SNMP ifIndex
|
Integer |
getIpProtocolVersion()
IPv4 vs IPv6
|
Long |
getLastSwitched()
Unix timestamp in ms at which the last packet
associated with this flow was switched.
|
Flow.NetflowVersion |
getNetflowVersion()
Netfow version
|
String |
getNextHop()
Next hop
|
Integer |
getOutputSnmp()
SNMP ifIndex
|
Long |
getPackets()
Number of packets in the flow
|
Integer |
getProtocol()
IP protocol number i.e 6 for TCP, 17 for UDP
|
Flow.SamplingAlgorithm |
getSamplingAlgorithm()
Sampling algorithm ID
|
Double |
getSamplingInterval()
Sampling interval
|
String |
getSrcAddr()
Source address.
|
Integer |
getSrcAs()
Source autonomous system (AS).
|
Integer |
getSrcMaskLen()
The number of contiguous bits in the destination address subnet mask.
|
Integer |
getSrcPort()
Source port.
|
Integer |
getTcpFlags()
TCP Flags.
|
long |
getTimestamp()
Flow timestamp in milliseconds.
|
Integer |
getTos()
TOS.
|
Integer |
getVlan()
VLAN ID.
|
static final int IPV4_PROTOCOL_VERSION
static final int IPV6_PROTOCOL_VERSION
long getTimestamp()
Long getBytes()
Flow.Direction getDirection()
String getDstAddr()
Integer getDstAs()
Integer getDstMaskLen()
Integer getDstPort()
Integer getEngineId()
Integer getEngineType()
Long getFirstSwitched()
int getFlowRecords()
long getFlowSeqNum()
Integer getInputSnmp()
Integer getIpProtocolVersion()
Long getLastSwitched()
String getNextHop()
Integer getOutputSnmp()
Long getPackets()
Integer getProtocol()
Flow.SamplingAlgorithm getSamplingAlgorithm()
Double getSamplingInterval()
String getSrcAddr()
Integer getSrcAs()
Integer getSrcMaskLen()
Integer getSrcPort()
Integer getTcpFlags()
Integer getTos()
Flow.NetflowVersion getNetflowVersion()
Integer getVlan()
Copyright © 2019. All rights reserved.