public interface PacketLogger
| Modifier and Type | Method and Description |
|---|---|
void |
log(String prefix,
SocketAddress local,
SocketAddress remote,
byte[] data)
Logs data (usually a DNS message in wire format) that was sent or received within the dnsjava
library.
|
void log(String prefix, SocketAddress local, SocketAddress remote, byte[] data)
This method can be invoked concurrently from any thread.
prefix - a note of where the package originated, e.g. TCP read.local - the local (i.e. this pc) socket address of the communication channel.remote - the remote (i.e. the server) socket address of the communication channel.data - the transferred data, usually a complete DNS message.Copyright © 2021 dnsjava.org. All rights reserved.