最后是Dao
/**
*
* @author rikugun
*/
public interface DeliverDao {
/*
* 保存一个下发的短信
* @param SpSmsDeliver
*/
public void create(SpSmsDeliver spSmsDeliver) throws PreexistingEntityException, Exception;
/*
* 获取实体
* @return List
*/
public List<SpSmsDeliver> findSpSmsDeliverEntities();
/*
* 获取实体 最大记录和起始记录
* @param int int
* @return List
*/
public List<SpSmsDeliver> findSpSmsDeliverEntities(int maxResults, int firstResult);
public SpSmsDeliver findSpSmsDeliver(Long id);
public int getSpSmsDeliverCount();
}
/**
*
* @author rikugun
*/
public interface LogDao {
public void create(SpSmsLog spSmsLog) throws PreexistingEntityException, Exception;
public void edit(SpSmsLog spSmsLog) throws NonexistentEntityException, Exception;
public void destroy(Long id) throws NonexistentEntityException;
public List<SpSmsLog> findSpSmsLogEntities();
public List<SpSmsLog> findSpSmsLogEntities(int maxResults, int firstResult);
public SpSmsLog findSpSmsLog(Long id);
public SpSmsLog findByLsh(String lsh);
public int getSpSmsLogCount();
}
/**
*
* @author rikugun
*/
public interface SendDao {
public void create(SpSmsSend spSmsSend) throws PreexistingEntityException, Exception;
public void edit(SpSmsSend spSmsSend) throws NonexistentEntityException, Exception;
public void destroy(Long id) throws NonexistentEntityException;
public List<SpSmsSend> findSpSmsSendEntities();
public List<SpSmsSend> findSpSmsSendEntities(int maxResults, int firstResult);
public List<SpSmsSend> findSpSmsSendEntities(int maxResults, int firstResult,String ql);
public List<SpSmsSend> findCMPPEntities(int maxResults, int firstResult);
public SpSmsSend findSpSmsSend(Long id);
public int getSpSmsSendCount();
}
分享到:
相关推荐
中国电信CMPP2.0原代码+程序
cmpp2.0移动网关+数据库操作。多线程,日志自定义,
基于中国移动短信网关的JAVA代码,可以发送短信,CMPP2.0协议及相关文档
1.遵照CMPP2.0协议实现,模拟了短信网关,支持CONNECT,SUBMIT,DELIVER,QUERY,CANCEL,TERMINATE消息。 2.支持多个客户端登录,支持单连接和双连接类型,支持标准CMPP和亚信API. 3.服务端自动生成Msgid,支持状态报告. ...
本人亲测可用采用华为包开发的JAVA移动短信CMPP2.0/CMPP3.0程序,希望能够帮到你
由于工作原因,需要用PHP实现cmpp2.0协议。当时在网上找了很久,几乎都是Java版本的。后来,终于找到一个PHP版本的,经过测试缺少一些函数,没法用。并且对于长短信的支持功能有点小bug,经过研究就重写了。把所有...
cmpp2.0开发接口c# 有问题 www.willvc.com.cn 能联系到我
cmpp2.0网关短信发送DEMO(smproxy.jar) 使用华为jar包实现,只吃cmoo2.0 和 3.0。参考 博客 https://blog.csdn.net/leiliz/article/details/73810598
CMPP2.0协议技术。标准文件,接入移动短信中心规范。
遵照CMPP2.0协议实现,模拟了短信网关,支持多个客户端登录,支持单连接和双连接类型,支持标准CMPP。
中国移动短信网关模拟器支持cmpp2.0
移动的CMPP2.0和CMPP3.0协议标准 基于CMPP可以开发短信下发直连移动网关
《中国移动通信CMPP2.0短消息网关开发接口库》 本接口是用VC6.0遵循中国移动通信标准CMPP2.0协议开发的短消息网关接口,目的是简化SP接入移动短消息网关的复杂度。 本接口对网络通信和CMPP2.0协议进行了高度封...
移动短信网关协议,1)手机发出数据请求(可能是订阅信息或图片点播等),被源ISMG接收; 2)源ISMG对接收到的信息返回响应; 3)源ISMG在本地查询不到要连接的SP,向GNS(汇...在以上操作中,步骤3到步骤8均使用CMPP协议;
cmpp2.0 java示例,示例简单明了,除工具一个工具类文件和几个协议类文件,所有报文操作都在一个文件内,由几个方法组成,希望对刚接触cmpp开发的新手,有参考帮助,cmpp目录下 运行方法名testLong.java
CMPP2.0协议文档
CMPP2.0短信网关接口开发文档,介绍了短信网关的开发协议
包含接口API与测试工程: 主目录下是详细使用手册.接口文件放在API文件夹中. Demo Project中包含两个示例工程. 一个是模拟网关的源码--“CMPPGateway” 一个是SP连接网关的示例代码--“SPClient”
移动 短信 cmpp2.0 协议 submit deliver
CMPP2.0接口的VB程序CMPP2.0接口的VB程序