T
- is the type of objects that should be matched by this scope.@FunctionalInterface public interface Scope<T> extends Serializable
Space
.
A scope is a predicate used to filter the potentially called listeners for a given event. The most basic Scope is represented by a collection of Addresses (Agent, Role, etc.
Modifier and Type | Method and Description |
---|---|
boolean |
matches(element : T)
Checks whether the element is included in this scope.
|
Copyright © 2021 the original authors or authors.