unbind.java

来自「SMPP(点到点短消息协议)的java实现」· Java 代码 · 共 47 行

JAVA
47
字号
package ie.omk.smpp.message;/** * Unbind from the SMSC. This operation does not close the network * connection...it is valid to issue a new bind command over the same network * connection to re-establish SMPP communication with the SMSC. *  * @author Oran Kelly * @version 1.0 */public class Unbind extends ie.omk.smpp.message.SMPPRequest {    /**     * Construct a new Unbind.     */    public Unbind() {        super(UNBIND);    }    /**     * Construct a new Unbind with specified sequence number.     *      * @param seqNum     *            The sequence number to use     * @deprecated     */    public Unbind(int seqNum) {        super(UNBIND, seqNum);    }    public int getBodyLength() {        return 0;    }    public void readBodyFrom(byte[] b, int offset) throws SMPPProtocolException {        return;    }    /**     * Convert this packet to a String. Not to be interpreted programmatically,     * it's just dead handy for debugging!     */    public String toString() {        return new String("unbind");    }}

⌨️ 快捷键说明

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