java.lang.Object
org.jabber.jabberbeans.IQPacketListener
- All Implemented Interfaces:
- PacketListener, java.io.Serializable
- public class IQPacketListener
- extends java.lang.Object
- implements PacketListener, java.io.Serializable
This is an interface that extends an IQListener, so that it will filter out messages that don't concern the object. This is an adapter.
|
Method Summary |
void |
receivedPacket(Packet packet)
called when a packet is received and processed. |
void |
sentPacket(Packet packet)
called whenever a local client sends a packet, after the packet sending
is successful |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
identifier
private java.lang.String identifier
iqbean
private IQBean iqbean
childListener
private PacketListener childListener
IQPacketListener
public IQPacketListener(IQBean iqbean,
InfoQuery packet,
PacketListener listener)
sentPacket
public void sentPacket(Packet packet)
- Description copied from interface:
PacketListener
- called whenever a local client sends a packet, after the packet sending
is successful
- Specified by:
sentPacket in interface PacketListener
receivedPacket
public void receivedPacket(Packet packet)
- Description copied from interface:
PacketListener
- called when a packet is received and processed.
- Specified by:
receivedPacket in interface PacketListener