public TSEmergengcyContxtUniverse() { try { ts82B37content = new tscontext(ts82_b37proxy); ts82Dallascontent = new tscontext(ts82_dallasproxy); ts81B37content = new tscontext(ts81_b37proxy); ts81Dallascontent = new tscontext(ts81_dallasproxy); ts61B37content = new tscontext(ts61_b37proxy); ts61Dallascontent = new tscontext(ts61_dallasproxy); tslivecontent = new tscontext(ts_liveproxy); ts2side = new tscontext(ts_2sideproxy); } catch (TSException e) { logger.info("TSContxtUnivesre failed to initialize!"); logger.info(e.getErrorCode() + e.getErrorInfo()); } }
public void closeTSEmergengcyContxtUnivesre() { try { ts82B37content.dispose(); ts82Dallascontent.dispose(); ts81B37content.dispose(); ts81Dallascontent.dispose(); ts61B37content.dispose(); ts61Dallascontent.dispose(); tslivecontent.dispose(); ts2side.dispose(); } catch (TSException e) { logger.info("TSContxtUnivesre close Fail!"); logger.info(e.getErrorCode() + e.getErrorInfo()); logger.info(e.getMessage()); } }