⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smppapiexample.java

📁 SMPP(点到点短消息协议)的java实现
💻 JAVA
字号:
/* * Created on 16-May-2005 */package ie.omk.smpp.examples;import ie.omk.smpp.Connection;import org.apache.tools.ant.Task;/** * @author orank */public class SMPPAPIExample extends Task {        protected String hostName = null;        protected int port = 0;        protected String systemID = null;        protected String systemType = null;        protected String password = null;        protected int sourceTON = 0;        protected int sourceNPI = 0;        protected String sourceAddress = null;    protected Connection myConnection = null;        /**     * @return Returns the hostName.     */    public String getHostName() {        return hostName;    }    /**     * @param hostName The hostName to set.     */    public void setHostName(String hostName) {        this.hostName = hostName;    }    /**     * @return Returns the password.     */    public String getPassword() {        return password;    }    /**     * @param password The password to set.     */    public void setPassword(String password) {        this.password = password;    }    /**     * @return Returns the port.     */    public int getPort() {        return port;    }    /**     * @param port The port to set.     */    public void setPort(int port) {        this.port = port;    }    /**     * @return Returns the sourceAddress.     */    public String getSourceAddress() {        return sourceAddress;    }    /**     * @param sourceAddress The sourceAddress to set.     */    public void setSourceAddress(String sourceAddress) {        this.sourceAddress = sourceAddress;    }    /**     * @return Returns the sourceNPI.     */    public int getSourceNPI() {        return sourceNPI;    }    /**     * @param sourceNPI The sourceNPI to set.     */    public void setSourceNPI(int sourceNPI) {        this.sourceNPI = sourceNPI;    }    /**     * @return Returns the sourceTON.     */    public int getSourceTON() {        return sourceTON;    }    /**     * @param sourceTON The sourceTON to set.     */    public void setSourceTON(int sourceTON) {        this.sourceTON = sourceTON;    }    /**     * @return Returns the systemID.     */    public String getSystemID() {        return systemID;    }    /**     * @param systemID The systemID to set.     */    public void setSystemID(String systemID) {        this.systemID = systemID;    }    /**     * @return Returns the systemType.     */    public String getSystemType() {        return systemType;    }    /**     * @param systemType The systemType to set.     */    public void setSystemType(String systemType) {        this.systemType = systemType;    }}

⌨️ 快捷键说明

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