OrFilter.addFilter
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.jivesoftware.smack.filter.OrFilter.addFilter(Showing top 4 results out of 315)

  • Common ways to obtain OrFilter
private void myMethod () {
OrFilter o =
  • new OrFilter()
  • Smart code suggestions by Codota
}
origin: org.igniterealtime.smack/smack-core

iqAndIdFilter = new AndFilter(iqFilter, idFilter);
fromFilter = new OrFilter();
fromFilter.addFilter(FromMatchesFilter.createFull(to));
if (to == null) {
  fromFilter.addFilter(FromMatchesFilter.createBare(local));
  fromFilter.addFilter(FromMatchesFilter.createFull(server));
  fromFilter.addFilter(FromMatchesFilter.createFull(null));
origin: jivesoftware/smackx

filter.addFilter(new PacketTypeFilter(OfferRequestProvider.OfferRequestPacket.class));
filter.addFilter(new PacketTypeFilter(OfferRevokeProvider.OfferRevokePacket.class));
filter.addFilter(new PacketTypeFilter(Presence.class));
filter.addFilter(new PacketTypeFilter(Message.class));
origin: org.apache.camel/camel-xmpp

if (endpoint.isPubsub()) {
  pubsubPacketFilter.addFilter(MessageTypeFilter.HEADLINE);
  pubsubPacketFilter.addFilter(MessageTypeFilter.NORMAL);
  connection.addSyncStanzaListener(this, pubsubPacketFilter);
origin: org.igniterealtime.smack/smackx

filter.addFilter(new PacketTypeFilter(OfferRequestProvider.OfferRequestPacket.class));
filter.addFilter(new PacketTypeFilter(OfferRevokeProvider.OfferRevokePacket.class));
filter.addFilter(new PacketTypeFilter(Presence.class));
filter.addFilter(new PacketTypeFilter(Message.class));
org.jivesoftware.smack.filterOrFilteraddFilter

Javadoc

Adds a filter to the filter list for the OR operation. A packet will pass the filter if any filter in the list accepts it.

Popular methods of OrFilter

  • <init>
    Creates an OR filter using the specified filters.
  • accept
  • toString

Popular classes and methods

  • getSharedPreferences (Context)
  • getOriginalFilename (MultipartFile)
  • setContentView (Activity)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)