接口 SimpSubscriptionMatcher

  • 函数接口:
    这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

    @FunctionalInterface
    public interface SimpSubscriptionMatcher
    A strategy for matching subscriptions.
    从以下版本开始:
    4.2
    作者:
    Rossen Stoyanchev
    • 方法详细资料

      • match

        boolean match​(SimpSubscription subscription)
        Match the given subscription.
        参数:
        subscription - the subscription to match
        返回:
        true in case of a match, false otherwise