congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
SimpSubscriptionMatcher.match
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.springframework.messaging.simp.user.SimpSubscriptionMatcher.match (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.userSimpSubscriptionMatchermatch

Javadoc

Match the given subscription.

Popular methods of SimpSubscriptionMatcher

    Popular in Java

    • Running tasks concurrently on multiple threads
    • findViewById (Activity)
    • setContentView (Activity)
    • getApplicationContext (Context)
    • FileReader (java.io)
      A specialized Reader that reads from a file in the file system. All read requests made by calling me
    • Path (java.nio.file)
    • Permission (java.security)
      Legacy security code; do not use.
    • Enumeration (java.util)
      A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
    • BlockingQueue (java.util.concurrent)
      A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
    • JTable (javax.swing)
    • Sublime Text for Python
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

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