Examples of debugString()


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

      if (pdu instanceof EnquireLinkResp) {
        if (myQueueEnquireLink) {
          handleEnquireLinkResponseEvent (event);
        }
        else {
          myLog.debug ("handleEvent - async response: {}", pdu.debugString ());
        }
      }
      else if (pdu instanceof SubmitSMResp) {
        handleSubmitResponseEvent (event);
      }
View Full Code Here

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

    if (response == null) {
      return SmppMessageStateType.eUnknown;
    }
    else {
      myLog.debug ("query - received response: {}", response.debugString ());
      return SmppMessageStateType.decode (response.getMessageState ());
    }
  }
}
View Full Code Here

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

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

   *               a {@link com.logica.smpp.pdu.SubmitSMResp} PDU.
   */
  protected void handleSubmitResponseEvent (ServerPDUEvent event)
  {
    SubmitSMResp pdu = (SubmitSMResp)(event.getPDU ());
    myLog.debug ("handleSubmitResponseEvent - async request: {}", pdu.debugString ());

    synchronized (mySubmitResponseEvents) {
      mySubmitResponseEvents.enqueue (event);
      mySubmitResponseEvents.notify ();
    }
View Full Code Here

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

    }
    else {
      try {
        UnbindResp response = getSession ().unbind();
        if (response != null) {
          myLog.debug ("close - response: {}", response.debugString ());
        }
        return true;
      }
      catch (ValueNotSetException exc) {
        myLog.error ("close - value not set", exc);
View Full Code Here

Examples of com.nexirius.util.TextToken.debugString()

                pushbackToken();

                return parseEnum();
            }

            throw new SyntaxException("class or enum", t.debugString());
        } catch (NoMoreTokensException ex) {
            return false;
        }
    }
View Full Code Here

Examples of com.nexirius.util.TextToken.debugString()

        try {
            // check whether the next token is a 'enum'
            TextToken t = nextToken();

            if (!t.isIdentifier(ENUM)) {
                throw new SyntaxException(ENUM, t.debugString());
            }

            t = nextToken();

            if (!t.isIdentifier()) {
View Full Code Here

Examples of com.nexirius.util.TextToken.debugString()

            }

            t = nextToken();

            if (!t.isIdentifier()) {
                throw new SyntaxException("enum name", t.debugString());
            }
//System.out.println("parsing enum " + t.getString());
            DataModelTypeEnum e = new DataModelTypeEnum(t.getString());

View Full Code Here

Examples of com.nexirius.util.TextToken.debugString()


            t = nextToken();

            if (!t.isChar(OCURLY)) {
                throw new SyntaxException(OCURLY, t.debugString());
            }

            t = nextToken();

            while (true) {
View Full Code Here

Examples of com.nexirius.util.TextToken.debugString()

                if (t.isChar(CCURLY)) {
                    break;
                }

                if (!t.isString()) {
                    throw new SyntaxException("enum value (string literal)", t.debugString());
                }

                e.addValue(t.getString());

                t = nextToken();
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.