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.
|
Long |
getDeltaSwitched()
Unix timestamp in ms at which the previous exported packet
associated with this flow was switched.
|
Flow.Direction |
getDirection()
Direction of the flow (egress vs ingress)
|
String |
getDstAddr()
Destination address.
|
Optional<String> |
getDstAddrHostname()
Destination address hostname.
|
Long |
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
|
Optional<String> |
getNextHopHostname()
Next hop hostname
|
String |
getNodeIdentifier()
Method to get node lookup identifier.
|
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
|
long |
getReceivedAt()
Time at which the flow was received by listener in milliseconds since epoch UTC.
|
Flow.SamplingAlgorithm |
getSamplingAlgorithm()
Sampling algorithm ID
|
Double |
getSamplingInterval()
Sampling interval
|
String |
getSrcAddr()
Source address.
|
Optional<String> |
getSrcAddrHostname()
Source address hostname.
|
Long |
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 getReceivedAt()
long getTimestamp()
Long getBytes()
Flow.Direction getDirection()
String getDstAddr()
Long getDstAs()
Integer getDstMaskLen()
Integer getDstPort()
Integer getEngineId()
Integer getEngineType()
Long getDeltaSwitched()
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()
Long getSrcAs()
Integer getSrcMaskLen()
Integer getSrcPort()
Integer getTcpFlags()
Integer getTos()
Flow.NetflowVersion getNetflowVersion()
Integer getVlan()
String getNodeIdentifier()
Copyright © 2021. All rights reserved.