//
// setup configuration for a client session
//
DefaultSmppSessionHandler sessionHandler = new ClientSmppSessionHandler();
SmppSessionConfiguration config0 = new SmppSessionConfiguration();
config0.setWindowSize(1);
config0.setName("Tester.Session.0");
config0.setType(SmppBindType.TRANSCEIVER);
config0.setHost("127.0.0.1");
config0.setPort(2777);
config0.setConnectTimeout(10000);
config0.setSystemId("1234567890");
config0.setPassword("password");
config0.getLoggingOptions().setLogBytes(true);
// to enable monitoring (request expiration)
config0.setRequestExpiryTimeout(30000);
config0.setWindowMonitorInterval(15000);
config0.setCountersEnabled(true);
//ssl
config0.setUseSsl(true);
//
// create session, enquire link, submit an sms, close session
//
SmppSession session0 = null;