Package ie.omk.smpp.event

Examples of ie.omk.smpp.event.ReceiverExceptionEvent


              new ConnectionThread(Integer.MAX_VALUE, configuration.getInitialReconnectDelay())
            ).start();
          }
        }
      } else if (event.getType() == SMPPEvent.RECEIVER_EXCEPTION) {
        ReceiverExceptionEvent exceptionEvent = (ReceiverExceptionEvent) event;
        log.error(getLogHead() + "Received ReceiverExceptionEvent with state " + exceptionEvent.getState()
            + ": " + exceptionEvent.getException().getMessage(), exceptionEvent.getException());
      }
    }
View Full Code Here


                       ((ReceiverExitEvent) exitEvent).setReason(
                               ReceiverExitEvent.BIND_TIMEOUT);
                       setState(UNBOUND);
                   } else {
                       eventDispatcher.notifyObservers(this,
                               new ReceiverExceptionEvent(this, x));
                   }
                   continue;
               } catch (IOException x) {
                   LOGGER.warn("I/O Exception caught", x);
                   ReceiverExceptionEvent ev = new ReceiverExceptionEvent(
                           this, x, state);
                   eventDispatcher.notifyObservers(this, ev);
                   smppEx++;
                   if (smppEx > tooManyIOEx) {
                       LOGGER.warn("Too many IOExceptions in receiver thread", x);
View Full Code Here

                       ((ReceiverExitEvent) exitEvent).setReason(
                               ReceiverExitEvent.BIND_TIMEOUT);
                       setState(UNBOUND);
                   } else {
                       eventDispatcher.notifyObservers(this,
                               new ReceiverExceptionEvent(this, x));
                   }
                   continue;
               } catch (IOException x) {
                   LOGGER.warn("I/O Exception caught", x);
                   ReceiverExceptionEvent ev = new ReceiverExceptionEvent(
                           this, x, state);
                   eventDispatcher.notifyObservers(this, ev);
                   smppEx++;
                   if (smppEx > tooManyIOEx) {
                       LOGGER.warn("Too many IOExceptions in receiver thread", x);
View Full Code Here

TOP

Related Classes of ie.omk.smpp.event.ReceiverExceptionEvent

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.