Tabnine Logo
SimpSubscriptionMatcher
Code IndexAdd Tabnine to your IDE (free)

How to use
SimpSubscriptionMatcher
in
org.springframework.messaging.simp.user

Best Java code snippets using org.springframework.messaging.simp.user.SimpSubscriptionMatcher (Showing top 7 results out of 315)

origin: spring-projects/spring-framework

public Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher) {
  Set<SimpSubscription> result = new HashSet<>();
  for (TransferSimpUser user : this.users.values()) {
    for (TransferSimpSession session : user.sessions) {
      for (SimpSubscription subscription : session.subscriptions) {
        if (matcher.match(subscription)) {
          result.add(subscription);
        }
      }
    }
  }
  return result;
}
origin: spring-projects/spring-framework

public Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher) {
  Set<SimpSubscription> result = new HashSet<>();
  for (LocalSimpSession session : this.sessions.values()) {
    for (SimpSubscription subscription : session.subscriptions.values()) {
      if (matcher.match(subscription)) {
        result.add(subscription);
      }
    }
  }
  return result;
}
origin: org.springframework/spring-messaging

public Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher) {
  Set<SimpSubscription> result = new HashSet<>();
  for (TransferSimpUser user : this.users.values()) {
    for (TransferSimpSession session : user.sessions) {
      for (SimpSubscription subscription : session.subscriptions) {
        if (matcher.match(subscription)) {
          result.add(subscription);
        }
      }
    }
  }
  return result;
}
origin: apache/servicemix-bundles

public Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher) {
  Set<SimpSubscription> result = new HashSet<>();
  for (LocalSimpSession session : this.sessions.values()) {
    for (SimpSubscription subscription : session.subscriptions.values()) {
      if (matcher.match(subscription)) {
        result.add(subscription);
      }
    }
  }
  return result;
}
origin: org.springframework/spring-websocket

public Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher) {
  Set<SimpSubscription> result = new HashSet<>();
  for (LocalSimpSession session : this.sessions.values()) {
    for (SimpSubscription subscription : session.subscriptions.values()) {
      if (matcher.match(subscription)) {
        result.add(subscription);
      }
    }
  }
  return result;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-messaging

public Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher) {
  Set<SimpSubscription> result = new HashSet<>();
  for (TransferSimpUser user : this.users.values()) {
    for (TransferSimpSession session : user.sessions) {
      for (SimpSubscription subscription : session.subscriptions) {
        if (matcher.match(subscription)) {
          result.add(subscription);
        }
      }
    }
  }
  return result;
}
origin: apache/servicemix-bundles

public Set<SimpSubscription> findSubscriptions(SimpSubscriptionMatcher matcher) {
  Set<SimpSubscription> result = new HashSet<>();
  for (TransferSimpUser user : this.users.values()) {
    for (TransferSimpSession session : user.sessions) {
      for (SimpSubscription subscription : session.subscriptions) {
        if (matcher.match(subscription)) {
          result.add(subscription);
        }
      }
    }
  }
  return result;
}
org.springframework.messaging.simp.userSimpSubscriptionMatcher

Javadoc

A strategy for matching subscriptions.

Most used methods

  • match
    Match the given subscription.

Popular in Java

  • Making http requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • startActivity (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Join (org.hibernate.mapping)
  • Table (org.hibernate.mapping)
    A relational table
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now