All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ie.omk.smpp.message.Outbind Maven / Gradle / Ivy

The newest version!
package ie.omk.smpp.message;

/**
 * $Id:$
 */
public class Outbind extends SMPPRequest {

    private String systemId;
    private String password;
    
    public Outbind() {
        super(SMPPPacket.OUTBIND);
    }
    
    public String getSystemId() {
        return systemId;
    }
    
    public void setSystemId(String systemId) {
        this.systemId = systemId;
    }
    
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getBodyLength() {
        int len = 2;
        if (systemId != null) {
            len += systemId.length();
        }
        if (password != null) {
            len += password.length();
        }
        return len;
    }

    protected void readBodyFrom(byte[] b, int offset)
            throws SMPPProtocolException {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy