Home
last modified time | relevance | path

Searched refs:packetFilter (Results 1 – 11 of 11) sorted by relevance

/external/smack/src/org/jivesoftware/smack/
DPacketCollector.java45 private PacketFilter packetFilter; field in PacketCollector
57 protected PacketCollector(Connection conection, PacketFilter packetFilter) { in PacketCollector() argument
58 this(conection, packetFilter, SmackConfiguration.getPacketCollectorSize()); in PacketCollector()
69 protected PacketCollector(Connection conection, PacketFilter packetFilter, int maxSize) { in PacketCollector() argument
71 this.packetFilter = packetFilter; in PacketCollector()
95 return packetFilter; in getPacketFilter()
153 if (packetFilter == null || packetFilter.accept(packet)) { in processPacket()
DConnection.java587 public PacketCollector createPacketCollector(PacketFilter packetFilter) { in createPacketCollector() argument
588 PacketCollector collector = new PacketCollector(this, packetFilter); in createPacketCollector()
620 public void addPacketListener(PacketListener packetListener, PacketFilter packetFilter) { in addPacketListener() argument
624 ListenerWrapper wrapper = new ListenerWrapper(packetListener, packetFilter); in addPacketListener()
657 public void addPacketSendingListener(PacketListener packetListener, PacketFilter packetFilter) { in addPacketSendingListener() argument
661 ListenerWrapper wrapper = new ListenerWrapper(packetListener, packetFilter); in addPacketSendingListener()
706 PacketFilter packetFilter) { in addPacketInterceptor() argument
710 … interceptors.put(packetInterceptor, new InterceptorWrapper(packetInterceptor, packetFilter)); in addPacketInterceptor()
851 private PacketFilter packetFilter; field in Connection.ListenerWrapper
859 public ListenerWrapper(PacketListener packetListener, PacketFilter packetFilter) { in ListenerWrapper() argument
[all …]
DConnection.java.orig584 * @param packetFilter the packet filter to use.
587 public PacketCollector createPacketCollector(PacketFilter packetFilter) {
588 PacketCollector collector = new PacketCollector(this, packetFilter);
618 * @param packetFilter the packet filter to use.
620 public void addPacketListener(PacketListener packetListener, PacketFilter packetFilter) {
624 ListenerWrapper wrapper = new ListenerWrapper(packetListener, packetFilter);
655 * @param packetFilter the packet filter to use.
657 public void addPacketSendingListener(PacketListener packetListener, PacketFilter packetFilter) {
661 ListenerWrapper wrapper = new ListenerWrapper(packetListener, packetFilter);
703 * @param packetFilter the packet filter to use.
[all …]
DXMPPConnection.java521 PacketFilter packetFilter) { in addPacketWriterInterceptor() argument
522 addPacketInterceptor(packetInterceptor, packetFilter); in addPacketWriterInterceptor()
547 public void addPacketWriterListener(PacketListener packetListener, PacketFilter packetFilter) { in addPacketWriterListener() argument
548 addPacketSendingListener(packetListener, packetFilter); in addPacketWriterListener()
DPrivacyListManager.java51 PacketFilter packetFilter = new AndFilter(new IQTypeFilter(IQ.Type.SET), field in PrivacyListManager
155 }, packetFilter); in init()
/external/smack/src/org/jivesoftware/smackx/
DOfflineMessageManager.java62 private PacketFilter packetFilter; field in OfflineMessageManager
66 packetFilter = in OfflineMessageManager()
147 PacketFilter messageFilter = new AndFilter(packetFilter, new PacketFilter() { in getMessages()
199 PacketCollector messageCollector = connection.createPacketCollector(packetFilter); in getMessages()
DPEPManager.java69 …private PacketFilter packetFilter = new PacketExtensionFilter("event", "http://jabber.org/protocol… field in PEPManager
147 connection.addPacketListener(packetListener, packetFilter); in init()
DRosterExchangeManager.java53 private PacketFilter packetFilter = new PacketExtensionFilter("x", "jabber:x:roster"); field in RosterExchangeManager
175 con.addPacketListener(packetListener, packetFilter); in init()
DServiceDiscoveryManager.java213 PacketFilter packetFilter = new PacketTypeFilter(DiscoverItems.class); in init() local
244 connection.addPacketListener(packetListener, packetFilter); in init()
248 packetFilter = new PacketTypeFilter(DiscoverInfo.class); in init()
289 connection.addPacketListener(packetListener, packetFilter); in init()
DMessageEventManager.java51 private PacketFilter packetFilter = new PacketExtensionFilter("x", "jabber:x:event"); field in MessageEventManager
225 con.addPacketListener(packetListener, packetFilter); in init()
/external/smack/src/org/jivesoftware/smackx/entitycaps/
DEntityCapsManager.java265 …PacketFilter packetFilter = new AndFilter(new PacketTypeFilter(Presence.class), new PacketExtensio… in init() local
289 }, packetFilter); in init()
291packetFilter = new AndFilter(new PacketTypeFilter(Presence.class), new NotFilter(new PacketExtensi… in init()
301 }, packetFilter); in init()
303 packetFilter = new PacketTypeFilter(Presence.class); in init()
309 }, packetFilter); in init()