Package org.jgroups.protocols.relay
Class ForwardingRoute
java.lang.Object
org.jgroups.protocols.relay.ForwardingRoute
- All Implemented Interfaces:
Comparable<ForwardingRoute>
Route which forwards all messages to a given site via a given route.
Example: if site HF is reachable via NET1, and NET2 is not directly connected to HF, it needs to have a ForwardConfig with to="HF" and gateway="NET1". This means that a message to site HF will be forwarded to NET1, which then forwards it to HF.
Note that 'to' can be a regular expression and matches(String) can be used to match a given site against it.
- Since:
- 5.2.15
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
to
-
gateway
-
p
-
-
Constructor Details
-
ForwardingRoute
-
-
Method Details
-
to
-
to
-
gateway
-
gateway
-
matches
-
compareTo
- Specified by:
compareToin interfaceComparable<ForwardingRoute>
-
equals
-
toString
-