|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PacketLoggingService
A Packet Logging Service to log packets that were send/received by protocols or any other network related services in various formats. Its for debugging purposes.
| Nested Class Summary | |
|---|---|
static class |
PacketLoggingService.ProtocolName
These are the services that this packet logging service cab handle. |
static class |
PacketLoggingService.TransportName
The transport names. |
| Method Summary | |
|---|---|
PacketLoggingConfiguration |
getConfiguration()
Returns the current Packet Logging Configuration. |
boolean |
isLoggingEnabled()
Checks is logging globally enabled for the service. |
boolean |
isLoggingEnabled(PacketLoggingService.ProtocolName protocol)
Checks is logging globally enabled for and is it currently available fo the given protocol. |
void |
logPacket(PacketLoggingService.ProtocolName protocol,
byte[] sourceAddress,
int sourcePort,
byte[] destinationAddress,
int destinationPort,
PacketLoggingService.TransportName transport,
boolean sender,
byte[] packetContent)
Log a packet with all the required information. |
void |
logPacket(PacketLoggingService.ProtocolName protocol,
byte[] sourceAddress,
int sourcePort,
byte[] destinationAddress,
int destinationPort,
PacketLoggingService.TransportName transport,
boolean sender,
byte[] packetContent,
int packetOffset,
int packetLength)
Log a packet with all the required information. |
| Method Detail |
|---|
boolean isLoggingEnabled()
boolean isLoggingEnabled(PacketLoggingService.ProtocolName protocol)
protocol - that is checked.
void logPacket(PacketLoggingService.ProtocolName protocol,
byte[] sourceAddress,
int sourcePort,
byte[] destinationAddress,
int destinationPort,
PacketLoggingService.TransportName transport,
boolean sender,
byte[] packetContent)
protocol - the source protocol that logs this packet.sourceAddress - the source address of the packet.sourcePort - the source port of the packet.destinationAddress - the destination address.destinationPort - the destination port.transport - the transport this packet uses.sender - are we the sender of the packet or not.packetContent - the packet content.
void logPacket(PacketLoggingService.ProtocolName protocol,
byte[] sourceAddress,
int sourcePort,
byte[] destinationAddress,
int destinationPort,
PacketLoggingService.TransportName transport,
boolean sender,
byte[] packetContent,
int packetOffset,
int packetLength)
protocol - the source protocol that logs this packet.sourceAddress - the source address of the packet.sourcePort - the source port of the packet.destinationAddress - the destination address.destinationPort - the destination port.transport - the transport this packet uses.sender - are we the sender of the packet or not.packetContent - the packet content.packetOffset - the packet content offset.packetLength - the packet content length.PacketLoggingConfiguration getConfiguration()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||