Package com.nt.udc.admin.server
Class RSMServerUtils
java.lang.Object
com.nt.udc.admin.server.RSMServerUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AdminServerAPI
static String
static String
static String
static String
static ASProxy
getProxy()
static AdminServerAPI
getSystemModel
(LoggerIfc logger) static void
handleAdminServerAPIException
(String invocationDescription, String serverDescription, String serverMethodDescription, com.nt.common.exceptions.APIException theException) protected static void
handleInnerException
(Exception innerEx) static void
handleTimeOutException
(String invocationDescription, String serverDescription, String serverMethodDescription, com.nt.common.exceptions.TimeoutException te) handles the session time out exceptionstatic void
static void
static void
static void
static void
static void
setDebug
(boolean b) static void
setDemo
(boolean b) static void
setIpAndPort
(String ip, String port) static void
Shows message within Exception as an error pop up box.
-
Constructor Details
-
RSMServerUtils
public RSMServerUtils()
-
-
Method Details
-
getAdminServerHostIP
-
getAdminServerPort
-
getDataServerHostIP
-
getDataServerPort
-
setAdminServerHostIP
-
setAdminServerPort
-
setDataServerHostIP
-
setDataServerPort
-
setDemo
public static void setDemo(boolean b) -
setDebug
public static void setDebug(boolean b) -
setIpAndPort
-
getAdminServer
- Throws:
Exception
-
killAdminServerRef
public static void killAdminServerRef() -
getSystemModel
- Throws:
Exception
-
getProxy
- Throws:
Exception
-
handleAdminServerAPIException
public static void handleAdminServerAPIException(String invocationDescription, String serverDescription, String serverMethodDescription, com.nt.common.exceptions.APIException theException) throws Exception - Throws:
Exception
-
handleInnerException
- Throws:
Exception
-
handleTimeOutException
public static void handleTimeOutException(String invocationDescription, String serverDescription, String serverMethodDescription, com.nt.common.exceptions.TimeoutException te) throws com.nt.common.exceptions.TimeoutException handles the session time out exception- Parameters:
invocationDescription
- describes where the method was called from.serverDescription
- describes the server that contains the method.serverMethodDescription
- describes the method that was called.te
- is the exception that was thrown- Throws:
com.nt.common.exceptions.TimeoutException
-
showErrorPopup
Shows message within Exception as an error pop up box.- Parameters:
ex
-
-