Modifier and Type | Field and Description |
---|---|
static int |
MAX_PACKET_SIZE
This size is used as the size of each
ByteBuffer used to capture syslog
messages. |
SINK_METRIC_CONSUMER_DOMAIN, SINK_METRIC_PRODUCER_DOMAIN
Constructor and Description |
---|
SyslogConnection(DatagramPacket pkt,
boolean copy) |
SyslogConnection(InetSocketAddress source,
ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
static DatagramPacket |
copyPacket(DatagramPacket packet) |
static DatagramPacket |
copyPacket(InetAddress sourceAddress,
int sourcePort,
ByteBuffer buffer) |
ByteBuffer |
getBuffer() |
InetSocketAddress |
getSource() |
public static final int MAX_PACKET_SIZE
ByteBuffer
used to capture syslog
messages.public SyslogConnection(DatagramPacket pkt, boolean copy)
public SyslogConnection(InetSocketAddress source, ByteBuffer buffer)
public InetSocketAddress getSource()
public ByteBuffer getBuffer()
public static DatagramPacket copyPacket(DatagramPacket packet)
public static DatagramPacket copyPacket(InetAddress sourceAddress, int sourcePort, ByteBuffer buffer)
Copyright © 2021. All rights reserved.