* @return the SMPPSession
*/
SMPPSession createSMPPSession() {
if (configuration.getUsingSSL()) {
return new SMPPSession(new SynchronizedPDUSender(new DefaultPDUSender(new DefaultComposer())),
new DefaultPDUReader(), SmppSSLConnectionFactory.getInstance());
} else {
return new SMPPSession();
}
}