文件名称:MISC_1.6_Provision_Java_API
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 49kb
- 下载次数:
- 0次
- 提 供 者:
- 张*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
中国移动MISC 1.6 Provision Java API
直接使用HttpServer的方式实现,不需要任何其它API,不需要Apache,IIS,Tomcat等Web服务器,直接实现底层.
运行环境 Windows/Linux JDK 1.4.2
演示程序
1) sync.bat 正向订购同步演示
java -classpath "smsfan-provision.jar" net.smsfan.provision.example.SyncOrderExample 80 provision
其中参数:
80 port,为HttpServer的端口号
provision serviceName,为服务名称
程序初始化成功后,misc网关访问URL:http://serverip:port/serviceName 即可提交正向同步数据
2) subs.bat 反向订购/取消接口演示
java -classpath "smsfan-provision.jar" net.smsfan.provision.example.SubscribeExample http://127.0.0.1/provision
其中参数:
http://127.0.0.1/provision url,为Misc网关的反向订购/取消接口地址
-China Mobile MISC 1.6 Provision Java API used directly HttpS SP in a way that does not require any other APIs, not Apache, IIS, Tomcat Web server, etc., direct achieve bottom. Runtime Environment Windows/Linux JDK 1.4.2 Demonstration Program 1) sy nc.bat being ordered synchronous demo java-classpath "smsfan- prov ision.jar "net.smsfan.provision.example.S yncOrderExample 80 provision which parameters : 80 port, HttpServer to the port provision serviceName, for service names initialization procedure after the success of Gateway misc visit URL : http :// serverip : port/serviceName forward will be submitted to two synchronous data) subs.bat reverse order/cancellation interface demo java-classpath "smsfan- provision.j ar "net.smsfan.provision.example.Subscrib eExa
直接使用HttpServer的方式实现,不需要任何其它API,不需要Apache,IIS,Tomcat等Web服务器,直接实现底层.
运行环境 Windows/Linux JDK 1.4.2
演示程序
1) sync.bat 正向订购同步演示
java -classpath "smsfan-provision.jar" net.smsfan.provision.example.SyncOrderExample 80 provision
其中参数:
80 port,为HttpServer的端口号
provision serviceName,为服务名称
程序初始化成功后,misc网关访问URL:http://serverip:port/serviceName 即可提交正向同步数据
2) subs.bat 反向订购/取消接口演示
java -classpath "smsfan-provision.jar" net.smsfan.provision.example.SubscribeExample http://127.0.0.1/provision
其中参数:
http://127.0.0.1/provision url,为Misc网关的反向订购/取消接口地址
-China Mobile MISC 1.6 Provision Java API used directly HttpS SP in a way that does not require any other APIs, not Apache, IIS, Tomcat Web server, etc., direct achieve bottom. Runtime Environment Windows/Linux JDK 1.4.2 Demonstration Program 1) sy nc.bat being ordered synchronous demo java-classpath "smsfan- prov ision.jar "net.smsfan.provision.example.S yncOrderExample 80 provision which parameters : 80 port, HttpServer to the port provision serviceName, for service names initialization procedure after the success of Gateway misc visit URL : http :// serverip : port/serviceName forward will be submitted to two synchronous data) subs.bat reverse order/cancellation interface demo java-classpath "smsfan- provision.j ar "net.smsfan.provision.example.Subscrib eExa
(系统自动生成,下载前可以参看下载内容)
下载文件列表
provision
.........\readme.txt
.........\smsfan-provision.jar
.........\src-example
.........\...........\net
.........\...........\...\smsfan
.........\...........\...\......\provision
.........\...........\...\......\.........\example
.........\...........\...\......\.........\.......\SubscribeExample.java
.........\...........\...\......\.........\.......\SyncOrderExample.java
.........\subs.bat
.........\sync.bat
.........\readme.txt
.........\smsfan-provision.jar
.........\src-example
.........\...........\net
.........\...........\...\smsfan
.........\...........\...\......\provision
.........\...........\...\......\.........\example
.........\...........\...\......\.........\.......\SubscribeExample.java
.........\...........\...\......\.........\.......\SyncOrderExample.java
.........\subs.bat
.........\sync.bat