public class Ice4jPacketLogger
extends java.lang.Object
implements org.ice4j.stack.PacketLogger
Constructor and Description |
---|
Ice4jPacketLogger() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled()
Checks whether the logger is enabled.
|
void |
logPacket(byte[] sourceAddress,
int sourcePort,
byte[] destinationAddress,
int destinationPort,
byte[] packetContent,
boolean sender)
Logs a incoming or outgoing packet.
|
public void logPacket(byte[] sourceAddress, int sourcePort, byte[] destinationAddress, int destinationPort, byte[] packetContent, boolean sender)
logPacket
in interface org.ice4j.stack.PacketLogger
sourceAddress
- the source address of the packet.sourcePort
- the source port.destinationAddress
- the destination address of the packet.destinationPort
- the destination port.packetContent
- the content of the packet.sender
- whether we are sending or not the packet.public boolean isEnabled()
isEnabled
in interface org.ice4j.stack.PacketLogger
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.