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

📄 cmpparameter.java

📁 cmpp的开发的短信端口实例
💻 JAVA
字号:
package com.zhanghao.cmpp;

public class CMPParameter {

  /**源地址,此处为SP_Id,即SP的企业代码。**/
  public static String SP_Id  = "918480";

  /** 用于鉴别源地址 **/
  public static String SP_Pwd = "";

  /**服务器地址 **/
  public static String ServerIp = "";

  public static String Gateway_ID ="181";

  /**MT**/
  public static int MTServerPort  = 7890;
  /**MO**/
  public static int MOServerPort  = 7910;

  /**#链路测试时间(秒)**/
  public static int ActiveTestTime = 30;

  /**服务器支持的最高版本号,对于3.0的版本,高4bit为3,低4位为0 **/
  public static int Version = 0x30;

  /**网关类型(1双连接,2单连接) **/
  public static int ISMGType = 2;

  /**MT发送速度(用于流量控制)单位条/秒 **/
  public static int MTSpeed = 20;

  /*=============================================================================*/
  /*           以下参数是连接数据库的配置,系统启动后由SPAMaster更改                      */
  /*=============================================================================*/
//  public static String DBDriver    = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
//  public static String Connect_URL = "jdbc:microsoft:sqlserver://211.154.52.171:9999;DatabaseName=stock";

  public static String DBUser      = "smscom";
  public static String DBPass      = "smscom";
  public static String DB_ResendInterval = "20";
  public static int DBPoolSize = 5;
  public static int DBType     = 1;  //数据库类型,1表示oracle,2表示sqlserver
  public static String DBDriver = "oracle.jdbc.driver.OracleDriver";
  public static String Connect_URL = "jdbc:oracle:thin:@192.168.1.77:1521:smsdb";


  public static String LogFilePath = "";

  public static int IfDebug = 0;

  public CMPParameter() {
  }

}

⌨️ 快捷键说明

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