protected class Relayer.Bridge extends ReceiverAdapter
| Modifier and Type | Field and Description |
|---|---|
protected JChannel |
channel |
protected String |
cluster_name |
protected View |
view |
| Modifier | Constructor and Description |
|---|---|
protected |
Bridge(JChannel ch,
String cluster_name,
String channel_name,
AddressGenerator addr_generator) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
contains(List<Relayer.Route> routes,
Address addr) |
protected Map<String,List<Address>> |
extract(View view)
Returns a map containing the site keys and addresses as values
|
void |
receive(Message msg)
Called when a message is received.
|
protected void |
start() |
protected void |
stop() |
void |
viewAccepted(View new_view)
The view contains a list of SiteUUIDs.
|
protected JChannel channel
protected final String cluster_name
protected View view
protected void stop()
public void receive(Message msg)
ReceiverAdapterreceive in interface MessageListenerreceive in class ReceiverAdapterpublic void viewAccepted(View new_view)
viewAccepted in interface MembershipListenerviewAccepted in class ReceiverAdapterprotected boolean contains(List<Relayer.Route> routes, Address addr)
Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.