Package org.smpp.pdu

Examples of org.smpp.pdu.UnbindResp


     */
    protected void unbind(Session session) throws WrongSessionStateException,
            TimeoutException, IOException, PDUException {

        LOGGER.debug("Attempting to unbind the session");
        UnbindResp response = session.unbind();

        if (response != null) {
            if (response.getCommandStatus() == Data.ESME_ROK) {
                if (LOGGER.isDebugEnabled()) {
                    LOGGER.debug("The session was successfully unbound");
                }
            } else {
                LOGGER.warn("Unexpected response to unbind. Response is "
                        + response.debugString());
            }
        } else {
            LOGGER.debug("UnbindResponse was null when SMSCBindType was " +
                    SMSCBindType);
        }
View Full Code Here

TOP

Related Classes of org.smpp.pdu.UnbindResp

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.