package com.msp.smg;
import org.apache.log4j.Logger;
public class SendSM {
private final static Logger logger = Logger.getLogger(SendSM.class);
private String sourceAddr;
private String descAddr;
private String shortMessage;
public String getSourceAddr() {
return sourceAddr;
} ...
#smpp config
G_SMPP.name=G_SMPP
G_SMPP.smscIP=127.0.0.1
G_SMPP.smscPort=5016
G_SMPP.smscSystemId=user0
G_SMPP.smscPassword=user0
G_SMPP.smscRequestCount=20
C_SMPP.name=C_SMPP
C_SMPP.smscIP=192.168.0.1
C_SMPP.smscPort=5017
C_SMPP.smscSystemId=user1
C_SMPP.smscPassword=user1
C_SMPP.smscR ...
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<p ...
package com.msp.smg;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class StartUp {
public static void main(String[] args) {
System.out.println("SMG Server start ...");
new ClassPathXmlApplicationContext(new String[] {"spring_smpp.xml"});
Syste ...
package com.msp.smg;
public class SMPPService {
private String sysId = "";
private String syspwd = "";
private String smscIP = "";
private int smscPort = 0;
private int smscRequestCount = 1;
private String smscName="";
public void setSmscName(String smscName) {
this.smscName = ...
package com.msp.smg;
import java.util.List;
import org.apache.log4j.Logger;
import com.logica.smpp.Connection;
import com.logica.smpp.Data;
import com.logica.smpp.Receiver;
import com.logica.smpp.Session;
import com.logica.smpp.TCPIPConnection;
import com.logica.smpp.pdu.BindRequest;
im ...
package com.msp.smg;
import com.logica.smpp.Receiver;
import com.logica.smpp.pdu.*;
import com.logica.smpp.*;
public class ResponseWorker extends Thread {
private boolean isRuning = true;
private Receiver receiver = null;
private PDU pdu = null;
public Receiver getReceiver() {
...
08年了,我也把07年所做的工作总结一下。望各位朋友不吝指教。 一、名词解释SMPP:短消息点对点协议,SMPP协议是一个国际标准,有SMS论坛制定,官方网址为smsforum.net,截至2006年7月2日,最新版本是5.0。曾经流行的版本是3.3、3.4。SMPP协议向后兼容的。SMC:短消息服务中心ECME:扩展短消息实体 二、简要介绍基于SMPP协议研发的互通短信网关,所有unicom发向中国移动和中国电信的短信都通过此系统提交给unicom互通短信网关,系统角色为SMC,unicom充当ECME,由SMSC主动下发短消息(DeliverSM)给unicom短信中心 ...
《宋史·窦仪传》记载:宋代窦禹钧的五个儿子仪、俨、侃、偁、僖相继及第,故称“五子登科”。
科举时代考上进士叫登科,一家五个儿子都功成名就就叫“五子登科”。不同时代的“五子登科”有不同的含义,现代的五子是指什么呢?按顺序来说应该是:票子,房子,车子,妻子,孩子。当然这是站在男人的角度上说的,也是很多男人硬着头皮也要为之奋斗的目标,下面简单分析一下,也算闲着没事YY吧。
票子:就是钱呗,大把大把 ...
先给大家提供一点资料。
安装android for eclipse的过程。
有时间chinese一下。
Start Eclipse, then select Help > Software Updates > Find and Install....
In the dialog that appears, selec ...
- 23:40
- 浏览 (187)
- 评论 (0)
- 分类: Google android
- 浏览: 16419 次
- 性别:


- 详细资料
搜索本博客
我的相册
睿睿和他妈妈
共 4 张
共 4 张
最近加入圈子
链接
最新评论
-
用lucene对时间索引后搜索 ...
unique5945 写道caocao 写道那是因为RangeQuery内部被r ...
-- by caocao -
用lucene对时间索引后搜索 ...
caocao 写道那是因为RangeQuery内部被rewrite成许多Term ...
-- by unique5945 -
Linux上NFS共享
/etc/fstab的格式: fs_spec fs_file fs ...
-- by yinhj -
Linux上NFS共享
exportfs命令: 如果我们在启动了NFS之后又修改了/etc/expor ...
-- by yinhj -
用lucene对时间索引后搜索 ...
那是因为RangeQuery内部被rewrite成许多TermQuery,时间精 ...
-- by caocao






评论排行榜