Searched refs:packetListener (Results 1 – 8 of 8) sorted by relevance
/external/smack/src/org/jivesoftware/smack/ |
D | Connection.java | 620 public void addPacketListener(PacketListener packetListener, PacketFilter packetFilter) { in addPacketListener() argument 621 if (packetListener == null) { in addPacketListener() 624 ListenerWrapper wrapper = new ListenerWrapper(packetListener, packetFilter); in addPacketListener() 625 recvListeners.put(packetListener, wrapper); in addPacketListener() 633 public void removePacketListener(PacketListener packetListener) { in removePacketListener() argument 634 recvListeners.remove(packetListener); in removePacketListener() 657 public void addPacketSendingListener(PacketListener packetListener, PacketFilter packetFilter) { in addPacketSendingListener() argument 658 if (packetListener == null) { in addPacketSendingListener() 661 ListenerWrapper wrapper = new ListenerWrapper(packetListener, packetFilter); in addPacketSendingListener() 662 sendListeners.put(packetListener, wrapper); in addPacketSendingListener() [all …]
|
D | Connection.java.orig | 617 * @param packetListener the packet listener to notify of new received packets. 620 public void addPacketListener(PacketListener packetListener, PacketFilter packetFilter) { 621 if (packetListener == null) { 624 ListenerWrapper wrapper = new ListenerWrapper(packetListener, packetFilter); 625 recvListeners.put(packetListener, wrapper); 631 * @param packetListener the packet listener to remove. 633 public void removePacketListener(PacketListener packetListener) { 634 recvListeners.remove(packetListener); 654 * @param packetListener the packet listener to notify of sent packets. 657 public void addPacketSendingListener(PacketListener packetListener, PacketFilter packetFilter) { [all …]
|
D | XMPPConnection.java | 547 public void addPacketWriterListener(PacketListener packetListener, PacketFilter packetFilter) { in addPacketWriterListener() argument 548 addPacketSendingListener(packetListener, packetFilter); in addPacketWriterListener() 557 public void removePacketWriterListener(PacketListener packetListener) { in removePacketWriterListener() argument 558 removePacketSendingListener(packetListener); in removePacketWriterListener()
|
/external/smack/src/org/jivesoftware/smackx/ |
D | PEPManager.java | 70 private PacketListener packetListener; field in PEPManager 138 packetListener = new PacketListener() { in init() 147 connection.addPacketListener(packetListener, packetFilter); in init() 152 connection.removePacketListener(packetListener); in destroy()
|
D | RosterExchangeManager.java | 54 private PacketListener packetListener; field in RosterExchangeManager 165 packetListener = new PacketListener() { in init() 175 con.addPacketListener(packetListener, packetFilter); in init() 180 con.removePacketListener(packetListener); in destroy()
|
D | MessageEventManager.java | 52 private PacketListener packetListener; field in MessageEventManager 202 packetListener = new PacketListener() { in init() 225 con.addPacketListener(packetListener, packetFilter); in init() 302 con.removePacketListener(packetListener); in destroy()
|
D | ServiceDiscoveryManager.java | 214 PacketListener packetListener = new PacketListener() { in init() local 244 connection.addPacketListener(packetListener, packetFilter); in init() 249 packetListener = new PacketListener() { in init() 289 connection.addPacketListener(packetListener, packetFilter); in init()
|
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/ |
D | AgentSession.java | 76 private PacketListener packetListener; field in AgentSession 115 packetListener = new PacketListener() { in AgentSession() 125 connection.addPacketListener(packetListener, filter); in AgentSession() 135 connection.removePacketListener(packetListener); in close()
|