Package com.cloudhopper.smpp.simulator

Examples of com.cloudhopper.smpp.simulator.SmppSimulatorServer.start()


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);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.