|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.realtime.xmpp.dom.DomPacketLogger
Logs XMPP packets to an output stream. Useful for debugging.
Field Summary | |
protected java.io.Writer |
m_out
The stream to write packets to. |
Constructor Summary | |
DomPacketLogger(java.io.Writer out)
Create a logger that sends packets as XML to a stream. |
Method Summary | |
void |
incomingPacket(org.dom4j.Element packet)
Signal a new packet has arrived. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.io.Writer m_out
Constructor Detail |
public DomPacketLogger(java.io.Writer out)
Create a logger that sends packets as XML to a stream.
out
- The stream to write to.Method Detail |
public void incomingPacket(org.dom4j.Element packet)
incomingPacket
in interface DomPacketListener
packet
- The XMPP packet as a document.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |