LOG.info("Connected to: " + getEndpoint().getConnectionString());
}
private SMPPSession createSession() throws IOException {
SMPPSession session = createSMPPSession();
session.setEnquireLinkTimer(configuration.getEnquireLinkTimer());
session.setTransactionTimer(configuration.getTransactionTimer());
session.addSessionStateListener(internalSessionStateListener);
session.setMessageReceiverListener(messageReceiverListener);
session.connectAndBind(this.configuration.getHost(), this.configuration.getPort(),
new BindParameter(BindType.BIND_RX, this.configuration.getSystemId(),
this.configuration.getPassword(), this.configuration.getSystemType(),
TypeOfNumber.UNKNOWN, NumberingPlanIndicator.UNKNOWN,
configuration.getAddressRange()));