Package org.jgroups.protocols.relay
Class Relayer2.Bridge
java.lang.Object
org.jgroups.protocols.relay.Relayer2.Bridge
- All Implemented Interfaces:
Receiver
- Enclosing class:
Relayer2
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBridge(JChannel ch, String cluster, String name, AddressGenerator gen) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanReturns a map containing the site keys and addresses as valuesvoidCalled when a message is received.protected voidstart()protected voidstop()voidviewAccepted(View new_view) The view contains a list of SiteUUIDs.
-
Field Details
-
channel
-
cluster_name
-
view
-
-
Constructor Details
-
Bridge
- Throws:
Exception
-
-
Method Details
-
start
- Throws:
Exception
-
stop
protected void stop() -
receive
Description copied from interface:ReceiverCalled when a message is received. -
viewAccepted
The view contains a list of SiteUUIDs. Adjust the routing table based on the SiteUUIDs UUID and site- Specified by:
viewAcceptedin interfaceReceiver
-
contains
-
extract
Returns a map containing the site keys and addresses as values
-