Skip to content
Snippets Groups Projects
NameSpace.java 1.01 KiB
Newer Older
package ufrn.imd.utils;

public class NameSpace {
mariaeloi's avatar
mariaeloi committed
    public final static Integer PORT_AUTHENTICATOR_SERVICE = 1905;
mariaeloi's avatar
mariaeloi committed
    public final static Integer PORT_WITHDRAWAL_SERVICE = 1906;
    public static final Integer PORT_DEPOSIT_SERVICE = 1907;
    public static final Integer PORT_BALANCE_SERVICE = 1908;
    public static final Integer PORT_TRANSFER_SERVICE = 1909;
mariaeloi's avatar
mariaeloi committed
    public final static String HOST_AUTHENTICATOR_SERVICE = String.format("rmi://127.0.0.1:%d/%s", PORT_AUTHENTICATOR_SERVICE, "authenticator");
mariaeloi's avatar
mariaeloi committed
    public final static String HOST_WITHDRAWAL_SERVICE = String.format("rmi://127.0.0.1:%d/%s", PORT_WITHDRAWAL_SERVICE, "withdrawal");
    public static final String HOST_DEPOSIT_SERVICE = String.format("rmi://127.0.0.1:%d/%s", PORT_DEPOSIT_SERVICE, "deposit");
    public static final String HOST_BALANCE_SERVICE = String.format("rmi://127.0.0.1:%d/%s", PORT_BALANCE_SERVICE, "balance");
    public final static String HOST_TRANSFER_SERVICE = String.format("rmi://127.0.0.1:%d/%s", PORT_TRANSFER_SERVICE, "transfer");