Class GELFMessageChunk

java.lang.Object
org.graylog2.inputs.codecs.gelf.GELFMessageChunk

public final class GELFMessageChunk extends Object
  • Field Details

    • HEADER_PART_SEQNUM_START

      public static final int HEADER_PART_SEQNUM_START
      The start byte of the sequence number
      See Also:
    • HEADER_PART_SEQCNT_START

      public static final int HEADER_PART_SEQCNT_START
      The start byte of the sequence count
      See Also:
    • HEADER_PART_HASH_START

      public static final int HEADER_PART_HASH_START
      The start byte of the message hash
      See Also:
    • HEADER_PART_HASH_LENGTH

      public static final int HEADER_PART_HASH_LENGTH
      The length of the message hash
      See Also:
    • HEADER_TOTAL_LENGTH

      public static final int HEADER_TOTAL_LENGTH
      The total length of the header.
      See Also:
  • Constructor Details

  • Method Details

    • getArrival

      public long getArrival()
      The UNIX timestamp when the message chunk arrived in milliseconds.
      Returns:
      the UNIX timestamp when the message chunk arrived in milliseconds.
      See Also:
    • getId

      public String getId()
    • getData

      public byte[] getData()
    • getSequenceCount

      public int getSequenceCount()
    • getSequenceNumber

      public int getSequenceNumber()
    • getSourceInput

      public MessageInput getSourceInput()
    • toString

      public String toString()
      Overrides:
      toString in class Object