Package com.logica.smpp.pdu

Examples of com.logica.smpp.pdu.EnquireLink


   * @return true if connection is alive
   */
  @Override
  public boolean isOpen ()
  {
    EnquireLink request = new EnquireLink ();

    try {
      EnquireLinkResp response = getSession ().enquireLink (request);
      return response != null;
    }
View Full Code Here


   *
   * @return true if connection is alive
   */
  public synchronized boolean isOpen ()
  {
    EnquireLink request = new EnquireLink ();

    try {
      synchronized (mySession) {
        mySession.enquireLink (request);
      }
      myLog.debug ("isOpen - pdu = {}", request.debugString ());
      // not sure if this is correct
      return true;
    }
    catch (ValueNotSetException exc) {
      myLog.error ("isOpen - value not set", exc);
View Full Code Here

TOP

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

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.