RMI callback for manage the invitations
This commit is contained in:
parent
cedaf8f009
commit
c54393c2b9
43 changed files with 2060 additions and 556 deletions
32
Commons/src/constants/Config.java
Normal file
32
Commons/src/constants/Config.java
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
package constants;
|
||||
|
||||
/**
|
||||
* Created by loke on 15/06/2017.
|
||||
*/
|
||||
public class Config {
|
||||
|
||||
public static String AuthServerURI = "localhost";
|
||||
public static Integer AuthServerPort = 9999;
|
||||
|
||||
public static String GameServerURI = "localhost";
|
||||
public static Integer GameServerPort = 10000;
|
||||
|
||||
public static String NotificationServerURI = "localhost";
|
||||
public static Integer NotificationServerPort = 20000;
|
||||
public static Integer NotificationServerStubPort = 5000;
|
||||
public static String NotificationServerName ="notification";
|
||||
|
||||
|
||||
public static String getNotificationServerURI(){
|
||||
return "rmi://".concat(NotificationServerURI).concat(":").concat(NotificationServerPort.toString());
|
||||
}
|
||||
|
||||
public static String getAuthServerURI(){
|
||||
return "rmi://".concat(AuthServerURI).concat(":").concat(AuthServerPort.toString());
|
||||
}
|
||||
|
||||
public static String getGameServerURI(){
|
||||
return "tcp://".concat(GameServerURI).concat(":").concat(GameServerPort.toString());
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue