|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jabber.jabberbeans.util.PacketDebug
PacketDebug
is a dirt-simple, yet very useful, class to
debug connection data. It prints out any sent or received data over
the pipe, along with the object classname.
Constructor Summary | |
PacketDebug()
|
Method Summary | |
void |
receivedPacket(PacketEvent pe)
prints out a debug message on packet receipt (after data has been received and successfully parsed) |
void |
sendFailed(PacketEvent pe)
prints out a debug message on packet sending failure |
void |
sentPacket(PacketEvent pe)
prints out a debug message on packet sending (after send method has been called and the flush on the output stream completes) |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public PacketDebug()
Method Detail |
public final void receivedPacket(PacketEvent pe)
pe
- PacketEvent that has just been received.public final void sentPacket(PacketEvent pe)
pe
- PacketEvent that has just been sentpublic final void sendFailed(PacketEvent pe)
pe
- PacketEvent for the failed send
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |