|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jph.channels.router.OutRouterEntry<M>
public final class OutRouterEntry<M>
The OutRouterEntry is a entry for in the RoutingOutputChannel. Every OutRouterEntry has 2 fields:
| Constructor Summary | |
|---|---|
OutRouterEntry(OutputChannel<M> channel)
Constructs a OutRouterEntry with a TrueMessagePredicate. |
|
OutRouterEntry(OutputChannel<M> channel,
org.jph.collections.predicate.Predicate<M> predicate)
Constructs a OutRouterEntry with the given OutputChannel and MessagePredicate. |
|
| Method Summary | |
|---|---|
OutputChannel<M> |
getChannel()
Returns the OutputChannel where the message can be send to. |
org.jph.collections.predicate.Predicate<M> |
getPredicate()
Returns the MessagePredicate that checks if a message can be send to the OutputChannel. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OutRouterEntry(OutputChannel<M> channel)
channel -
java.lang.NullPointerException - if channel is null.
public OutRouterEntry(OutputChannel<M> channel,
org.jph.collections.predicate.Predicate<M> predicate)
channel - predicate -
java.lang.NullPointerException - if channel is null.| Method Detail |
|---|
public OutputChannel<M> getChannel()
public org.jph.collections.predicate.Predicate<M> getPredicate()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||