Home
last modified time | relevance | path

Searched refs:PacketFilter (Results 1 – 25 of 47) sorted by relevance

12

/external/smack/src/org/jivesoftware/smack/filter/
DOrFilter.java31 public class OrFilter implements PacketFilter {
41 private PacketFilter [] filters;
49 filters = new PacketFilter[3]; in OrFilter()
58 public OrFilter(PacketFilter filter1, PacketFilter filter2) { in OrFilter()
63 filters = new PacketFilter[2]; in OrFilter()
74 public void addFilter(PacketFilter filter) { in addFilter()
80 PacketFilter [] newFilters = new PacketFilter[filters.length+2]; in addFilter()
DAndFilter.java34 public class AndFilter implements PacketFilter {
39 private List<PacketFilter> filters = new ArrayList<PacketFilter>();
54 public AndFilter(PacketFilter... filters) { in AndFilter()
58 for(PacketFilter filter : filters) { in AndFilter()
72 public void addFilter(PacketFilter filter) { in addFilter()
80 for (PacketFilter filter : filters) { in accept()
DNotFilter.java31 public class NotFilter implements PacketFilter {
33 private PacketFilter filter;
40 public NotFilter(PacketFilter filter) { in NotFilter()
DPacketFilter.java54 public interface PacketFilter { interface
/external/smack/src/org/jivesoftware/smackx/muc/
DPacketMultiplexListener.java26 import org.jivesoftware.smack.filter.PacketFilter;
40 private static final PacketFilter MESSAGE_FILTER =
42 private static final PacketFilter PRESENCE_FILTER = new PacketTypeFilter(Presence.class);
43 private static final PacketFilter SUBJECT_FILTER = new PacketFilter() {
49 private static final PacketFilter DECLINES_FILTER =
DMultiUserChat.java49 import org.jivesoftware.smack.filter.PacketFilter;
102 private PacketFilter presenceFilter;
104 private PacketFilter messageFilter;
345 PacketFilter responseFilter = in create()
483 PacketFilter responseFilter = in join()
563 PacketFilter responseFilter = new PacketIDFilter(iq.getPacketID()); in getConfigurationForm()
596 PacketFilter responseFilter = new PacketIDFilter(iq.getPacketID()); in sendConfigurationForm()
632 PacketFilter filter = in getRegistrationForm()
667 PacketFilter filter = in sendRegistrationForm()
705 PacketFilter responseFilter = new PacketIDFilter(iq.getPacketID()); in destroy()
[all …]
/external/smack/src/org/jivesoftware/smack/
DPacketCollector.java26 import org.jivesoftware.smack.filter.PacketFilter;
45 private PacketFilter packetFilter;
57 protected PacketCollector(Connection conection, PacketFilter packetFilter) { in PacketCollector()
69 protected PacketCollector(Connection conection, PacketFilter packetFilter, int maxSize) { in PacketCollector()
94 public PacketFilter getPacketFilter() { in getPacketFilter()
DChatManager.java32 import org.jivesoftware.smack.filter.PacketFilter;
93 private Map<PacketInterceptor, PacketFilter> interceptors
94 = new WeakHashMap<PacketInterceptor, PacketFilter>();
101 PacketFilter filter = new PacketFilter() { in ChatManager()
252 for(Map.Entry<PacketInterceptor, PacketFilter> interceptor : interceptors.entrySet()) { in sendMessage()
253 PacketFilter filter = interceptor.getValue(); in sendMessage()
279 …public void addOutgoingMessageInterceptor(PacketInterceptor packetInterceptor, PacketFilter filter… in addOutgoingMessageInterceptor()
DConnection.java42 import org.jivesoftware.smack.filter.PacketFilter;
587 public PacketCollector createPacketCollector(PacketFilter packetFilter) { in createPacketCollector()
620 public void addPacketListener(PacketListener packetListener, PacketFilter packetFilter) { in addPacketListener()
657 public void addPacketSendingListener(PacketListener packetListener, PacketFilter packetFilter) { in addPacketSendingListener()
706 PacketFilter packetFilter) { in addPacketInterceptor()
851 private PacketFilter packetFilter;
859 public ListenerWrapper(PacketListener packetListener, PacketFilter packetFilter) { in ListenerWrapper()
882 private PacketFilter packetFilter;
890 public InterceptorWrapper(PacketInterceptor packetInterceptor, PacketFilter packetFilter) { in InterceptorWrapper()
DAccountManager.java24 import org.jivesoftware.smack.filter.PacketFilter;
232 PacketFilter filter = new AndFilter(new PacketIDFilter(reg.getPacketID()), in createAccount()
263 PacketFilter filter = new AndFilter(new PacketIDFilter(reg.getPacketID()), in changePassword()
297 PacketFilter filter = new AndFilter(new PacketIDFilter(reg.getPacketID()), in deleteAccount()
320 PacketFilter filter = new AndFilter(new PacketIDFilter(reg.getPacketID()), in getRegistrationInfo()
DPrivacyListManager.java51 PacketFilter packetFilter = new AndFilter(new IQTypeFilter(IQ.Type.SET),
183 PacketFilter responseFilter = new PacketIDFilter(requestPrivacy.getPacketID()); in getRequest()
222 PacketFilter responseFilter = new PacketIDFilter(requestPrivacy.getPacketID()); in setRequest()
/external/smack/src/org/jivesoftware/smackx/
DOfflineMessageManager.java62 private PacketFilter packetFilter;
144 PacketFilter responseFilter = new PacketIDFilter(request.getPacketID()); in getMessages()
147 PacketFilter messageFilter = new AndFilter(packetFilter, new PacketFilter() { in getMessages()
196 PacketFilter responseFilter = new PacketIDFilter(request.getPacketID()); in getMessages()
243 PacketFilter responseFilter = new PacketIDFilter(request.getPacketID()); in deleteMessages()
269 PacketFilter responseFilter = new PacketIDFilter(request.getPacketID()); in deleteMessages()
DPEPManager.java29 import org.jivesoftware.smack.filter.PacketFilter;
69 …private PacketFilter packetFilter = new PacketExtensionFilter("event", "http://jabber.org/protocol…
DRosterExchangeManager.java33 import org.jivesoftware.smack.filter.PacketFilter;
53 private PacketFilter packetFilter = new PacketExtensionFilter("x", "jabber:x:roster");
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/
DDataListener.java18 import org.jivesoftware.smack.filter.PacketFilter;
43 private final PacketFilter dataFilter = new AndFilter(
69 protected PacketFilter getFilter() { in getFilter()
DCloseListener.java19 import org.jivesoftware.smack.filter.PacketFilter;
40 private final PacketFilter closeFilter = new AndFilter(new PacketTypeFilter(
71 protected PacketFilter getFilter() { in getFilter()
DInitiationListener.java22 import org.jivesoftware.smack.filter.PacketFilter;
47 private final PacketFilter initFilter = new AndFilter(new PacketTypeFilter(Open.class),
116 protected PacketFilter getFilter() { in getFilter()
DInBandBytestreamSession.java28 import org.jivesoftware.smack.filter.PacketFilter;
276 protected abstract PacketFilter getDataPacketFilter(); in getDataPacketFilter()
487 protected PacketFilter getDataPacketFilter() { in getDataPacketFilter()
534 protected PacketFilter getDataPacketFilter() {
549 private class IBBDataPacketFilter implements PacketFilter {
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/
DInitiationListener.java22 import org.jivesoftware.smack.filter.PacketFilter;
43 private final PacketFilter initFilter = new AndFilter(new PacketTypeFilter(Bytestream.class),
108 protected PacketFilter getFilter() { in getFilter()
/external/smack/src/org/jivesoftware/smackx/filetransfer/
DFaultTolerantNegotiator.java27 import org.jivesoftware.smack.filter.PacketFilter;
48 private PacketFilter primaryFilter;
49 private PacketFilter secondaryFilter;
58 public PacketFilter getInitiationPacketFilter(String from, String streamID) { in getInitiationPacketFilter()
DStreamNegotiator.java26 import org.jivesoftware.smack.filter.PacketFilter;
112 public abstract PacketFilter getInitiationPacketFilter(String from, String streamID); in getInitiationPacketFilter()
DIBBTransferNegotiator.java29 import org.jivesoftware.smack.filter.PacketFilter;
84 public PacketFilter getInitiationPacketFilter(String from, String streamID) { in getInitiationPacketFilter()
DSocks5TransferNegotiator.java25 import org.jivesoftware.smack.filter.PacketFilter;
81 public PacketFilter getInitiationPacketFilter(final String from, String streamID) { in getInitiationPacketFilter()
/external/smack/src/org/jivesoftware/smack/util/
DSyncPacketSend.java20 import org.jivesoftware.smack.filter.PacketFilter;
38 PacketFilter responseFilter = new PacketIDFilter(packet.getPacketID()); in getReply()
/external/smack/src/org/jivesoftware/smackx/pubsub/packet/
DSyncPacketSend.java20 import org.jivesoftware.smack.filter.PacketFilter;
38 PacketFilter responseFilter = new PacketIDFilter(packet.getPacketID()); in getReply()

12