java.lang.Object
ru.bitel.bgbilling.kernel.network.flow.Data
Direct Known Subclasses:
IPDataLogUtils.FlowDetail, IPFIXRecord, NetFlow9Record, NetFlowRecord, SFlowRecord, SnmpFlowRecord

public abstract class Data
extends java.lang.Object
Одна единица записи о трафике для всех протоколов. Конечная единица для обработки коллектором.
  • Field Details

    • ipv4SrcAddress

      public final byte[] ipv4SrcAddress
    • ipv4DstAddress

      public final byte[] ipv4DstAddress
    • ipv6SrcAddress

      public final byte[] ipv6SrcAddress
    • ipv6DstAddress

      public final byte[] ipv6DstAddress
    • srcAddress

      public final IpAddress srcAddress
    • dstAddress

      public final IpAddress dstAddress
    • srcPort

      public int srcPort
    • dstPort

      public int dstPort
    • nextHop

      public long nextHop
    • inputInterface

      public int inputInterface
    • outputInterface

      public int outputInterface
    • packets

      public long packets
    • octets

      public long octets
    • first

      public long first
    • last

      public long last
    • milliseconds

      public long milliseconds
    • diffServ

      public int diffServ
    • protocol

      public int protocol
  • Constructor Details

    • Data

      public Data()
  • Method Details

    • getProtocol

      public int getProtocol()
    • getSrcAddress

      public long getSrcAddress()
    • getSrcIpAddress

      public IpAddress getSrcIpAddress()
    • getDstIpAddress

      public IpAddress getDstIpAddress()
    • getSrcPort

      public int getSrcPort()
    • getDstAddress

      public long getDstAddress()
    • getDstPort

      public int getDstPort()
    • getNextHop

      public long getNextHop()
    • getInputInterface

      public int getInputInterface()
    • getOutputInterface

      public int getOutputInterface()
    • getPackets

      public long getPackets()
    • getOctets

      public long getOctets()
    • getFirst

      public long getFirst()
    • getLast

      public long getLast()
    • getMilliseconds

      public long getMilliseconds()
    • getDiffServ

      public int getDiffServ()
    • copy

      public static final void copy​(Data data, Data thiz)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object