Package com.logica.smpp.pdu

Examples of com.logica.smpp.pdu.SubmitSM.debugString()


  {
    // create the request
    SubmitSM request = createSubmit (senderAddress, recipientAddress, message, priority);

    // submit the request
    myLog.debug ("send - submitting request: {}", request.debugString ());
    try {
      SubmitSMResp response = getSession ().submit (request);
      if (response != null) {
        myLog.debug ("send - response.getCommandStatus () = {}", response.getCommandStatus ());
        return response.getMessageId ();
View Full Code Here


  {
    // create the request
    SubmitSM request = createSubmit (senderAddress, recipientAddress, message, priority);

    // submit the request
    myLog.debug ("send - submitting request: {}", request.debugString ());
    try {
      getSession ().submit (request);
      return request.getSequenceNumber ();
    }
    catch (ValueNotSetException exc) {
View Full Code Here

        logger.fatal("no way to manage this exception " + e.getMessage());
      } catch (TimeoutException e) {
        logger.error(e.getMessage());
        if(synchronous == false) {
          logger.error(" re-adding in queue " +
              request.debugString());
          addMTToSend(info);
        }
      } catch (PDUException e) {
        logger.fatal("no way to manage this exception " + e.getMessage());
      } catch (WrongSessionStateException e) {
View Full Code Here

        logger.fatal("no way to manage this exception " + e.getMessage());
      } catch (IOException e) {
        logger.error(e.getMessage());
        if(synchronous == false) {
          logger.error(" re-adding in queue " +
            request.debugString());
          addMTToSend(info);
        }
      } catch (NullPointerException e) {
        logger.error(e.getMessage());
        if(synchronous == false) {
View Full Code Here

        }
      } catch (NullPointerException e) {
        logger.error(e.getMessage());
        if(synchronous == false) {
          logger.error(" re-adding in queue " +
            request.debugString());
          addMTToSend(info);
        }       
      }
      } else {
        logger.error("unbind session");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.