package ufrn.imd.utils; public class NameSpace { public final static Integer PORT_AUTHENTICATOR_SERVICE = 1905; 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; public final static String HOST_AUTHENTICATOR_SERVICE = String.format("rmi://127.0.0.1:%d/%s", PORT_AUTHENTICATOR_SERVICE, "authenticator"); 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"); }