public interface PacketLogger
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.
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 © 2022 dnsjava.org. All rights reserved.