summaryrefslogtreecommitdiffstats
path: root/src/main/java/derms/Config.java
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-12-02 13:20:42 -0500
committerGitHub <noreply@github.com>2024-12-02 13:20:42 -0500
commit687b126f39c44a083d424fc53fa3843bbdf91473 (patch)
treec9ce898287900b8d303eabb70bebb82b1e8493b4 /src/main/java/derms/Config.java
parent428d76b5a865eda493163a6ab8fceb0168527e1b (diff)
parentbd266a1f58adaa466c3c3b16a46a7bf8d3110a3b (diff)
downloadsoen423-687b126f39c44a083d424fc53fa3843bbdf91473.zip
Merge pull request #2 from sam-rba/multihost
Make Run On Multiple Hosts
Diffstat (limited to 'src/main/java/derms/Config.java')
-rw-r--r--src/main/java/derms/Config.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/derms/Config.java b/src/main/java/derms/Config.java
index f401886..f8954ef 100644
--- a/src/main/java/derms/Config.java
+++ b/src/main/java/derms/Config.java
@@ -3,9 +3,15 @@ package derms;
import java.net.InetSocketAddress;
public class Config {
+ // The port where the FE publishes the web service endpoint.
+ public static final int frontendEndpointPort = 8067;
+
// The port where the sequencer listens for requests from the FE.
public static final int sequencerInPort = 62310;
// The multicast group of the RMs and sequencer.
public static final InetSocketAddress group = new InetSocketAddress("225.5.5.6", 62311);
+
+ // Ports where the FE listens for responses from each RM.
+ public static final int[] frontendResponsePorts = {62312, 62313, 62314, 62315};
}