public final class GELFMessageChunk extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
HEADER_PART_HASH_LENGTH
The length of the message hash
|
static int |
HEADER_PART_HASH_START
The start byte of the message hash
|
static int |
HEADER_PART_SEQCNT_START
The start byte of the sequence count
|
static int |
HEADER_PART_SEQNUM_START
The start byte of the sequence number
|
static int |
HEADER_TOTAL_LENGTH
The total length of the header.
|
| Constructor and Description |
|---|
GELFMessageChunk(byte[] payload,
MessageInput sourceInput) |
GELFMessageChunk(GELFMessage msg,
MessageInput sourceInput) |
| Modifier and Type | Method and Description |
|---|---|
long |
getArrival()
The UNIX timestamp when the message chunk arrived in milliseconds.
|
byte[] |
getData() |
String |
getId() |
int |
getSequenceCount() |
int |
getSequenceNumber() |
MessageInput |
getSourceInput() |
String |
toString() |
public static final int HEADER_PART_SEQNUM_START
public static final int HEADER_PART_SEQCNT_START
public static final int HEADER_PART_HASH_START
public static final int HEADER_PART_HASH_LENGTH
public static final int HEADER_TOTAL_LENGTH
public GELFMessageChunk(byte[] payload,
MessageInput sourceInput)
public GELFMessageChunk(GELFMessage msg, MessageInput sourceInput)
public long getArrival()
System.currentTimeMillis()public String getId()
public byte[] getData()
public int getSequenceCount()
public int getSequenceNumber()
public MessageInput getSourceInput()
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.