|
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 | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.jabber.debugger.SmackPacketDebugger
public class SmackPacketDebugger
The jabber packet listener that logs the packets to the packet logging service.
| Constructor Summary | |
|---|---|
SmackPacketDebugger()
Creates the SmackPacketDebugger instance. |
|
| Method Summary | |
|---|---|
void |
interceptPacket(org.jivesoftware.smack.packet.Packet packet)
Process the packet that is about to be sent to the server. |
void |
processPacket(org.jivesoftware.smack.packet.Packet packet)
Process the next packet sent to this packet listener. |
void |
setConnection(org.jivesoftware.smack.XMPPConnection connection)
Sets current connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SmackPacketDebugger()
| Method Detail |
|---|
public void setConnection(org.jivesoftware.smack.XMPPConnection connection)
connection - the connection.public void interceptPacket(org.jivesoftware.smack.packet.Packet packet)
Interceptors are invoked using the same thread that requested the packet to be sent, so it's very important that implementations of this method not block for any extended period of time.
interceptPacket in interface org.jivesoftware.smack.PacketInterceptorpacket - the packet to is going to be sent to the server.public void processPacket(org.jivesoftware.smack.packet.Packet packet)
A single thread is responsible for invoking all listeners, so it's very important that implementations of this method not block for any extended period of time.
processPacket in interface org.jivesoftware.smack.PacketListenerpacket - the packet to process.
|
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 | |||||||||