⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iiopdefine.java

📁 利用JAVA采用IIOP通讯的方式,支持weblogic及websphere
💻 JAVA
字号:
/*
 * IIopDefine.java
 *
 * Created on 2004年1月2日, 下午1:33
 */

package collector.iiop;

/**
 *
 * @author  wj
 */
public class IIopDefine {

  /** Creates a new instance of IIopDefine */
  public IIopDefine() {
  }

  public static String TWO_SERVER_SHUTDOWN = "两台服务器的IIOP服务都没有启动,系统退出。。。";

  public static String MAIN_SERVER_SHUTDOWN = "主服务器的IIOP服务没有全部启动,系统退出。。。";
  public static String SLAVE_SERVER_IIOP_SHUTDOWN = "备服务器的IIOP服务没有启动。。。";

  public static String INIT_MAIN_IIOP_DOWN = "构造主服务器参数下装。。。";
  public static String INIT_MAIN_IIOP_SENDDATA = "构造主服务器数据发送。。。";
  public static String INIT_MAIN_IIOP_EVENT = "构造主服务器事件发送。。。";

  public static String INIT_SLAVE_IIOP_DOWN = "构造备服务器参数下装。。。";
  public static String INIT_SLAVE_IIOP_SENDDATA = "构造备服务器数据发送。。。";
  public static String INIT_SLAVE_IIOP_EVENT = "构造备服务器事件发送。。。";

  public static String RECONNECT_IIOP_ERROR_1 =
      " reConnectIIOP Error In IIOPSwitch #1";
  public static String CONNECT_MAIN_SERVER_DOWN_FAILURE = "连接主服务器参数下装失败。。。";
  public static String CONNECT_MAIN_SERVER_DOWN_SUCCESS = "连接主服务器参数下装成功。。。";
  public static String RECONNECT_MAIN_SEREVR_DOWN_SUCCESS = "重连接主服务器参数下装成功。。。";
  public static String RECONNECT_MAIN_SERVER_DOWN_FAILURE = "重连接主服务器参数下装失败。。。";

  public static String CONNECT_SLAVE_SERVER_DOWN_FAILURE = "连接备服务器参数下装失败。。。";
  public static String CONNECT_SLAVE_SERVER_DOWN_SUCCESS = "连接备服务器参数下装成功。。。";
  public static String RECONNECT_SLAVE_SEREVR_DOWN_SUCCESS = "重连接备服务器参数下装成功。。。";
  public static String RECONNECT_SLAVE_SERVER_DOWN_FAILURE = "重连接备服务器参数下装失败。。。";

  public static String CONNECT_MAIN_SERVER_SENDDATA_FAILURE = "连接主服务器数据发送失败。。。";
  public static String CONNECT_MAIN_SERVER_SENDDATA_SUCCESS = "连接主服务器数据发送成功。。。";
  public static String RECONNECT_MAIN_SEREVR_SENDDATA_SUCCESS =
      "重连接主服务器数据发送成功。。。";
  public static String RECONNECT_MAIN_SERVER_SENDDATA_FAILURE =
      "重连接主服务器数据发送失败。。。";

  public static String CONNECT_SLAVE_SERVER_SENDDATA_FAILURE =
      "连接备服务器数据发送失败。。。";
  public static String CONNECT_SLAVE_SERVER_SENDDATA_SUCCESS =
      "连接备服务器数据发送成功。。。";
  public static String RECONNECT_SLAVE_SEREVR_SENDDATA_SUCCESS =
      "重连接备服务器数据发送成功。。。";
  public static String RECONNECT_SLAVE_SERVER_SENDDATA_FAILURE =
      "重连接备服务器数据发送失败。。。";

  public static String CONNECT_MAIN_SERVER_EVENT_FAILURE = "连接主服务器事件发送失败。。。";
  public static String CONNECT_MAIN_SERVER_EVENT_SUCCESS = "连接主服务器事件发送成功。。。";
  public static String RECONNECT_MAIN_SEREVR_EVENT_SUCCESS = "重连接主服务器事件发送成功。。。";
  public static String RECONNECT_MAIN_SERVER_EVENT_FAILURE = "重连接主服务器事件发送失败。。。";

  public static String CONNECT_SLAVE_SERVER_EVENT_FAILURE = "连接备服务器事件发送失败。。。";
  public static String CONNECT_SLAVE_SERVER_EVENT_SUCCESS = "连接备服务器事件发送成功。。。";
  public static String RECONNECT_SLAVE_SEREVR_EVENT_SUCCESS =
      "重连接备服务器事件发送成功。。。";
  public static String RECONNECT_SLAVE_SERVER_EVENT_FAILURE =
      "重连接备服务器事件发送失败。。。";

  public static final int IIOP_EXCEPTION = -8;

  public static final int IIOP_CONNECT = 0;
  public static final int IIOP_DISCONNECT = 1;

  public static final int NO_SERVER = 0;
  public static final int MAIN_SERVER = 1;
  public static final int SLAVE_SERVER = 2;

  public static int m_IIopDown1 = IIOP_DISCONNECT;
  public static int m_IIopDown2 = IIOP_DISCONNECT;

  public static int m_IIopEvent1 = IIOP_DISCONNECT;
  public static int m_IIopEvent2 = IIOP_DISCONNECT;

  public static int m_IIopSendData1 = IIOP_DISCONNECT;
  public static int m_IIopSendData2 = IIOP_DISCONNECT;

  public static int m_IIopDown1SendTimes = 0;
  public static int m_IIopDown2SendTimes = 0;

  public static int m_IIopEvent1SendTimes = 0;
  public static int m_IIopEvent2SendTimes = 0;

  public static int m_IIopSendData1SendTimes = 0;
  public static int m_IIopSendData2SendTimes = 0;

  public static final int MAX_SEND_TIMES = 10000;
  public static final int DOWN_TYPE = 0;
  public static final int SENDDATA_TYPE = 1;
  public static final int EVENT_TYPE = 2;

  public static String INVALID_DEFINE = "NULL";
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -