protected void doBind(DefaultSmppSession session, SmppSessionConfiguration config, SmppSessionHandler sessionHandler) throws SmppTimeoutException, SmppChannelException, SmppBindException, UnrecoverablePduException, InterruptedException { // create the bind request we'll use (may throw an exception) BaseBind bindRequest = createBindRequest(config); BaseBindResp bindResp = null; try { // attempt to bind to the SMSC // session implementation handles error checking, version negotiation, and can be discarded bindResp = session.bind(bindRequest, config.getBindTimeout()); logger.debug("Bound to esme systemId=" + config.getSystemId()); } catch (RecoverablePduException e) { // if a bind fails, there really is no recovery... throw new UnrecoverablePduException(e.getMessage(), e); } }
protected void doBind(DefaultSmppSession session, SmppSessionConfiguration config, SmppSessionHandler sessionHandler) throws SmppTimeoutException, SmppChannelException, SmppBindException, UnrecoverablePduException, InterruptedException { // create the bind request we'll use (may throw an exception) BaseBind bindRequest = createBindRequest(config); BaseBindResp bindResp = null; try { // attempt to bind to the SMSC // session implementation handles error checking, version negotiation, and can be discarded bindResp = session.bind(bindRequest, config.getBindTimeout()); } catch (RecoverablePduException e) { // if a bind fails, there really is no recovery... throw new UnrecoverablePduException(e.getMessage(), e); } }
protected void doBind(DefaultSmppSession session, SmppSessionConfiguration config, SmppSessionHandler sessionHandler) throws SmppTimeoutException, SmppChannelException, SmppBindException, UnrecoverablePduException, InterruptedException { // create the bind request we'll use (may throw an exception) BaseBind bindRequest = createBindRequest(config); BaseBindResp bindResp = null; try { // attempt to bind to the SMSC // session implementation handles error checking, version negotiation, and can be discarded bindResp = session.bind(bindRequest, config.getBindTimeout()); } catch (RecoverablePduException e) { // if a bind fails, there really is no recovery... throw new UnrecoverablePduException(e.getMessage(), e); } }
protected void doBind(DefaultSmppSession session, SmppSessionConfiguration config, SmppSessionHandler sessionHandler) throws SmppTimeoutException, SmppChannelException, SmppBindException, UnrecoverablePduException, InterruptedException { // create the bind request we'll use (may throw an exception) BaseBind bindRequest = createBindRequest(config); BaseBindResp bindResp = null; try { // attempt to bind to the SMSC // session implementation handles error checking, version negotiation, and can be discarded bindResp = session.bind(bindRequest, config.getBindTimeout()); } catch (RecoverablePduException e) { // if a bind fails, there really is no recovery... throw new UnrecoverablePduException(e.getMessage(), e); } }