package org.infosec.ismp.manager.server.event.util; /** * @author wudengke 2009-7-31 *  配置文件 */ public class ConfigContent { /** * Center中心IP地址 */ public static String centerIp; /** * Mina通信数据传输端口号 */ public static String dataPort; /** * 与Center通信的jetty的端口号 */ public static String jettyPort; /** * Manger在Center注册的注册码 */ public static String authorizationCode; /** * 与采集代理(agent)通信的jetty端口号 */ public static String jettyServerPort; /** * web.prefix */ public static String webPrefix; /** * echoService */ public static String echoService; /** * 事件插入时间窗 */ public static Integer insertTime; /** * 用于基于源和目的IP的事件统计监听器处理时间 */ public static Integer faciListenerTime; /** * 处理归并事件发送过来的事件监听器处理时间 */ public static Integer aggreListenerTime; /** * 邮件地址(告警) */ public static String mailAddress; /** * mail名称(告警) */ public static String mailFrom; /** * mail密码(告警) */ public static String mailPassword; /** * 短信平台IP(告警) */ public static String mmsIp; /** * 短信平台端口(告警) */ public static Integer mmsPort; /** * Topo用管理中心url */ public static String centerServer; /** * 管理中心Sockt端口 */ public static String centerSocktPort; /** * 管理中心IP地址 */ public static String centerServerIpAddress; public static String getMmsIp() { return mmsIp; } public static void setMmsIp(String mmsIp) { ConfigContent.mmsIp = mmsIp; } public static Integer getMmsPort() { return mmsPort; } public static void setMmsPort(Integer mmsPort) { ConfigContent.mmsPort = mmsPort; } public static String getCenterSocktPort() { return centerSocktPort; } public static void setCenterSocktPort(String centerSocktPort) { ConfigContent.centerSocktPort = centerSocktPort; } public static String getCenterServerIpAddress() { return centerServerIpAddress; } public static void setCenterServerIpAddress(String centerServerIpAddress) { ConfigContent.centerServerIpAddress = centerServerIpAddress; } public static String getCenterServer() { return centerServer; } public static void setCenterServer(String centerServer) { ConfigContent.centerServer = centerServer; } public static String getMailAddress() { return mailAddress; } public static void setMailAddress(String mailAddress) { ConfigContent.mailAddress = mailAddress; } public static String getMailFrom() { return mailFrom; } public static void setMailFrom(String mailFrom) { ConfigContent.mailFrom = mailFrom; } public static String getMailPassword() { return mailPassword; } public static void setMailPassword(String mailPassword) { ConfigContent.mailPassword = mailPassword; } public static String getCenterIp() { return centerIp; } public static void setCenterIp(String centerIp) { ConfigContent.centerIp = centerIp; } public static String getDataPort() { return dataPort; } public static void setDataPort(String dataPort) { ConfigContent.dataPort = dataPort; } public static String getJettyPort() { return jettyPort; } public static void setJettyPort(String jettyPort) { ConfigContent.jettyPort = jettyPort; } public static String getAuthorizationCode() { return authorizationCode; } public static void setAuthorizationCode(String authorizationCode) { ConfigContent.authorizationCode = authorizationCode; } public static String getJettyServerPort() { return jettyServerPort; } public static void setJettyServerPort(String jettyServerPort) { ConfigContent.jettyServerPort = jettyServerPort; } public static String getWebPrefix() { return webPrefix; } public static void setWebPrefix(String webPrefix) { ConfigContent.webPrefix = webPrefix; } public static String getEchoService() { return echoService; } public static void setEchoService(String echoService) { ConfigContent.echoService = echoService; } public static Integer getInsertTime() { return insertTime; } public static void setInsertTime(Integer insertTime) { ConfigContent.insertTime = insertTime; } public static Integer getFaciListenerTime() { return faciListenerTime; } public static void setFaciListenerTime(Integer faciListenerTime) { ConfigContent.faciListenerTime = faciListenerTime; } public static Integer getAggreListenerTime() { return aggreListenerTime; } public static void setAggreListenerTime(Integer aggreListenerTime) { ConfigContent.aggreListenerTime = aggreListenerTime; } }