Class RSMServerUtils

java.lang.Object
com.nt.udc.admin.server.RSMServerUtils

public class RSMServerUtils extends Object
  • Constructor Details

    • RSMServerUtils

      public RSMServerUtils()
  • Method Details

    • getAdminServerHostIP

      public static String getAdminServerHostIP()
    • getAdminServerPort

      public static String getAdminServerPort()
    • getDataServerHostIP

      public static String getDataServerHostIP()
    • getDataServerPort

      public static String getDataServerPort()
    • setAdminServerHostIP

      public static void setAdminServerHostIP(String s)
    • setAdminServerPort

      public static void setAdminServerPort(String s)
    • setDataServerHostIP

      public static void setDataServerHostIP(String s)
    • setDataServerPort

      public static void setDataServerPort(String s)
    • setDemo

      public static void setDemo(boolean b)
    • setDebug

      public static void setDebug(boolean b)
    • setIpAndPort

      public static void setIpAndPort(String ip, String port)
    • getAdminServer

      public static AdminServerAPI getAdminServer() throws Exception
      Throws:
      Exception
    • killAdminServerRef

      public static void killAdminServerRef()
    • getSystemModel

      public static AdminServerAPI getSystemModel(LoggerIfc logger) throws Exception
      Throws:
      Exception
    • getProxy

      public static ASProxy getProxy() throws Exception
      Throws:
      Exception
    • handleAdminServerAPIException

      public static void handleAdminServerAPIException(String invocationDescription, String serverDescription, String serverMethodDescription, com.nt.common.exceptions.APIException theException) throws Exception
      Throws:
      Exception
    • handleInnerException

      protected static void handleInnerException(Exception innerEx) throws Exception
      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

      public static void showErrorPopup(Exception ex)
      Shows message within Exception as an error pop up box.
      Parameters:
      ex -