Package com.logica.smpp.pdu

Examples of com.logica.smpp.pdu.DeliverSM


    }
    else {
      myLog.error ("receive - received pdu: {}", pdu.debugString ());
      response.setCommand (SmppCommandType.decode (pdu.getCommandId ()));
      if (pdu instanceof DeliverSM) {
        DeliverSM deliver = (DeliverSM)pdu;
        updateResponse (response, deliver);

        // send DeliverSMResp
        try {
          getSession ().respond (deliver.getResponse ());
        }
        catch (ValueNotSetException exc) {
          myLog.error ("receive - value not set", exc);
          return false;
        }
View Full Code Here


   * @param event The {@link com.logica.smpp.ServerPDUEvent} should contain
   *              a {@link com.logica.smpp.pdu.DeliverSM} PDU.
   */
  protected void handleDeliverEvent (ServerPDUEvent event)
  {
    DeliverSM pdu = (DeliverSM)(event.getPDU ());
    myLog.debug ("handleDeliverEvent - async response: {}", pdu.debugString ());
    try {
      mySession.respond (pdu.getResponse ());
    }
    catch (ValueNotSetException exc) {
      myLog.error ("handleDeliverEvent - exception in pdu", exc);
    }
    catch (WrongSessionStateException exc) {
View Full Code Here

     
      if(isSubmit == true) {
        request = new SubmitSM();
        request.setData(bb);
      } else {
        request = new DeliverSM();
        request.setData(bb);
      }
    } catch (Exception e) {
      logger.error("getPDUFromHexDump unexpected exception " +
          e.getMessage());
View Full Code Here

TOP

Related Classes of com.logica.smpp.pdu.DeliverSM

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.