【实例简介】
实现对中国联通SGIP短信发送协议对接,java源码,实现Bing命令和Submit命令。
【实例截图】
【核心代码】
88a5e703-3690-46a8-b0d9-481354bb8de4
└── SgipSmsSendServer
├── bin
│ ├── com
│ │ └── sgip
│ │ ├── db
│ │ │ └── Factory
│ │ │ └── DbFactory.class
│ │ ├── model
│ │ │ └── PhoneModel.class
│ │ ├── server
│ │ │ ├── DBListener.class
│ │ │ ├── Session$1.class
│ │ │ ├── Session.class
│ │ │ └── SgipSmsSendServer.class
│ │ └── service
│ │ └── SmsDataService.class
│ ├── lock
│ ├── lock1
│ ├── log4j.properties
│ ├── META-INF
│ │ └── MANIFEST.MF
│ ├── org
│ │ └── unicom
│ │ └── protocol
│ │ ├── exception
│ │ │ ├── BindException.class
│ │ │ └── ConnectionException.class
│ │ ├── sgip
│ │ │ ├── conn
│ │ │ │ ├── Connection.class
│ │ │ │ ├── SGIP_InputStream.class
│ │ │ │ └── SGIP_OutputStream.class
│ │ │ ├── msg
│ │ │ │ ├── Bind.class
│ │ │ │ ├── BindResp.class
│ │ │ │ ├── Message.class
│ │ │ │ ├── MsgHead.class
│ │ │ │ ├── Sequence.class
│ │ │ │ ├── Submit.class
│ │ │ │ ├── SubmitResp.class
│ │ │ │ ├── Unbind.class
│ │ │ │ └── UnbindResp.class
│ │ │ └── thread
│ │ │ ├── SmsSendThread$1.class
│ │ │ └── SmsSendThread.class
│ │ └── tools
│ │ ├── PropertiesReader.class
│ │ ├── Sequence.class
│ │ ├── Tools.class
│ │ └── Utils.class
│ └── README.md
├── config
│ └── system.properties
├── lib
│ ├── classes12.jar
│ ├── log4j-1.2.16.jar
│ ├── ojdbc14.jar
│ ├── slf4j-api-1.6.1.jar
│ └── slf4j-log4j12-1.6.1.jar
├── lock1
├── log
│ ├── err.log.2016-01-21
│ ├── info.log.2016-02-26
│ └── info.log.2016-05-30
├── META-INF
│ └── MANIFEST.MF
├── README.md
└── src
├── com
│ └── sgip
│ ├── db
│ │ └── Factory
│ │ └── DbFactory.java
│ ├── model
│ │ └── PhoneModel.java
│ ├── server
│ │ ├── DBListener.java
│ │ ├── Session.java
│ │ └── SgipSmsSendServer.java
│ └── service
│ └── SmsDataService.java
├── log4j.properties
└── org
└── unicom
└── protocol
├── exception
│ ├── BindException.java
│ └── ConnectionException.java
├── sgip
│ ├── conn
│ │ ├── Connection.java
│ │ ├── SGIP_InputStream.java
│ │ └── SGIP_OutputStream.java
│ ├── msg
│ │ ├── Bind.java
│ │ ├── BindResp.java
│ │ ├── Message.java
│ │ ├── MsgHead.java
│ │ ├── Sequence.java
│ │ ├── Submit.java
│ │ ├── SubmitResp.java
│ │ ├── Unbind.java
│ │ └── UnbindResp.java
│ └── thread
│ └── SmsSendThread.java
└── tools
├── PropertiesReader.java
├── Sequence.java
├── Tools.java
└── Utils.java
40 directories, 70 files