summaryrefslogtreecommitdiffstats
path: root/src/main/java/derms/Config.java
blob: f8954ef3dff7ffd5cf2082fa7d00816cc364b371 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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};
}