Examples of debugString()


Examples of org.smpp.pdu.PDU.debugString()

    public void handleEvent(ServerPDUEvent event) {
        PDU pdu = event.getPDU();
        if(pdu.isResponse()){
            logger.info("response-received", pdu.debugString());
        } else {
            logger.warn("unknown-event", pdu.debugString());
        }
    }
}
View Full Code Here

Examples of org.smpp.pdu.SubmitMultiSM.debugString()

            request.setDataCoding((byte) 0x00);
            request.setSmDefaultMsgId((byte) 0x00);
            // send the request
            request.assignSequenceNumber(false);
            if(LOGGER.isDebugEnabled()) {
                LOGGER.debug("Submit request " + request.debugString());
            }

            // Get a session from the pool and attempt to send the message.
            boolean submitted = false;
            while (!submitted) {
View Full Code Here

Examples of org.smpp.pdu.SubmitMultiSMResp.debugString()

                    sessionPool.invalidateObject(SMSSession);
                }
            }

            if (LOGGER.isDebugEnabled()) {
                LOGGER.debug("Submit response " + response.debugString());
            }
            if (response.getCommandStatus() != Data.ESME_ROK) {
                throw new MessageException(
                    localizer.format("message-submit-failure"));
            }
View Full Code Here

Examples of org.smpp.pdu.SubmitSM.debugString()

        // multiple times as single messages
        for (int i = 0; i < numberOfDestinations; i++) {
            try {
                request.setDestAddr(new Address(message.getDestination(i)));
                if(LOGGER.isDebugEnabled()) {
                    LOGGER.debug("Submit request " + request.debugString());
                }

                // Get a session from the pool and attempt to send the message.
                boolean submitted = false;
                SubmitSMResp response = null;
View Full Code Here

Examples of org.smpp.pdu.SubmitSMResp.debugString()

                }

                if(response!=null){
                    if(LOGGER.isDebugEnabled()) {
                        LOGGER.debug("Submit response " +
                                response.debugString());
                    }
                    if (response.getCommandStatus() != Data.ESME_ROK) {
                        final MessageRecipient failedRecipient =
                            message.getMessageRecipient(i);
                        failedRecipient.setFailureReason(
View Full Code Here

Examples of org.smpp.pdu.UnbindResp.debugString()

                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

Examples of org.smpp.pdu.tlv.TLV.debugString()

      dbgs += "(" + label + ": ";
      TLV tlv = null;
      for (int i = 0; i < size; i++) {
        tlv = (TLV) optionalParameters.get(i);
        if ((tlv != null) && (tlv.hasValue())) {
          dbgs += tlv.debugString();
          dbgs += " ";
        }
      }
      dbgs += ") ";
    }
View Full Code Here

Examples of org.zanata.webtrans.shared.model.TransUnit.debugString()

        @Override
        public void onSuccess(UpdateTransUnitResult result) {
            TransUnit updatedTU =
                    result.getUpdateInfoList().get(0).getTransUnit();
            Log.debug("save resulted TU: " + updatedTU.debugString());
            if (result.isSingleSuccess()) {
                eventBus.fireEvent(new NotificationEvent(
                        NotificationEvent.Severity.Info, messages
                                .notifyUpdateSaved(updatedTU.getRowIndex(),
                                        updatedTU.getId().toString()),
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.