Skip to content

Commit

Permalink
- Created RELAY as base class for RELAY2 and RELAY3
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Jul 31, 2023
1 parent db79084 commit cedd130
Show file tree
Hide file tree
Showing 3 changed files with 1,045 additions and 576 deletions.
5 changes: 4 additions & 1 deletion src/org/jgroups/protocols/relay/RELAY.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ public List<String> getSites() {
@ManagedAttribute(description="Whether or not this instance is a site master")
public abstract boolean isSiteMaster();

public abstract Route getRoute(String site_name);
public abstract Route getRoute(String site_name);
public abstract List<String> getCurrentSites();

/**
* Returns the bridge channel to a given site
Expand Down Expand Up @@ -273,6 +274,8 @@ public void parse(XmlNode node) throws Exception {
RelayConfig.parse(node, sites);
}

public abstract void handleView(View v);

protected abstract void handleRelayMessage(Message msg);

/** Parses the configuration by reading the config file */
Expand Down
Loading

0 comments on commit cedd130

Please sign in to comment.