*/
public class SimulatorMain {
private static final Logger logger = LoggerFactory.getLogger(SimulatorMain.class);
static public void main(String[] args) throws Exception {
SmppSimulatorServer server = new SmppSimulatorServer();
server.start(2776);
logger.info("SMPP simulator server started");
// wait for a session
logger.info("Waiting for the first smsc session within 30 seconds");
SmppSimulatorSessionHandler smscSession = server.pollNextSession(30000);
logger.info("Successfully got an new session!");
System.out.println("Press any key to shutdown simulator server");
System.in.read();
server.stop();
}