T - the implementation T of the Message being filtered.public class ForwardToAll<T extends Message<?>> extends Object implements ForwardingMode<T>
T regardless of their set up.| Constructor and Description |
|---|
ForwardToAll() |
| Modifier and Type | Method and Description |
|---|---|
<E> Stream<E> |
filterCandidates(T message,
Stream<E> candidates)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializepublic <E> Stream<E> filterCandidates(T message, Stream<E> candidates)
ForwardingModefilterCandidates in interface ForwardingMode<T extends Message<?>>E - The type of the candidatesmessage - The message of type T to be forwarded.candidates - The Stream of candidates to filter.Stream of candidates which will handle the message.Copyright © 2010–2020. All rights reserved.