|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jabber.jabberbeans.util.KeepAlive.KeepAlivePacketListener
Constructor Summary | |
KeepAlive.KeepAlivePacketListener()
|
Method Summary | |
void |
receivedPacket(PacketEvent pe)
called when a packet is received and processed. |
void |
sendFailed(PacketEvent pe)
called if a packet is not successfully sent (for instance, if the connection dies while the packet is queued, or a packet is sent while disconnected). |
void |
sentPacket(PacketEvent pe)
called whenever a local client sends a packet, after the sending is successful |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeepAlive.KeepAlivePacketListener()
Method Detail |
public void sentPacket(PacketEvent pe)
PacketListener
sentPacket
in interface PacketListener
pe
- PacketEvent that has just been sentpublic void receivedPacket(PacketEvent pe)
PacketListener
receivedPacket
in interface PacketListener
pe
- PacketEvent that has just been received.public void sendFailed(PacketEvent pe)
PacketListener
sendFailed
in interface PacketListener
pe
- PacketEvent for the failed send
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |