Package samples.echo

Source Code of samples.echo.Main

package samples.echo;

import org.webbitserver.netty.NettyWebServer;

/**
* Simple Echo server to be used with the Autobahn test suite.
*/
public class Main {

    public static void main(String[] args) throws Exception {
        EchoWsServer server = new EchoWsServer(new NettyWebServer(9001));
        server.start();
        System.out.println("Echo server running on: " + server.uri());
    }

}
TOP

Related Classes of samples.echo.Main

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.