Package com.logica.smpp.pdu

Examples of com.logica.smpp.pdu.DataSM


        }

        return true;
      }
      else if (pdu instanceof DataSM) {
        DataSM data = (DataSM)pdu;
        myLog.error ("receive - data message not supported: {}", data.debugString ());
        return false;
      }
      else {
        myLog.error ("receive - pdu not recognised {}", pdu.debugString ());
        return false;
View Full Code Here


   * @param event The {@link com.logica.smpp.ServerPDUEvent} should contain
   *              a {@link com.logica.smpp.pdu.DataSM} PDU.
   */
  protected void handleDataEvent (ServerPDUEvent event)
  {
    DataSM pdu = (DataSM)(event.getPDU ());
    myLog.debug ("handleDataEvent - async response: {}", pdu.debugString ());

    try {
      mySession.respond (pdu.getResponse ());
    }
    catch (ValueNotSetException exc) {
      myLog.error ("handleDataEvent - exception in pdu", exc);
    }
    catch (WrongSessionStateException exc) {
View Full Code Here

TOP

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

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.