Package pl.icedev.rpc.server

Examples of pl.icedev.rpc.server.NIOServer


    }

    public static void main(String[] args) throws IOException, InterruptedException {
        WebServerInterface service = new WebServerInterface();
        JSONRPCHandler handler = new JSONRPCHandler(service, "test");
        NIOServer nios = new NIOServer("localhost", 6949, handler);

        System.out.println("Server running...");
        while (true) {
            nios.update(-1);
        }
    }
View Full Code Here

TOP

Related Classes of pl.icedev.rpc.server.NIOServer

Copyright © 2018 www.massapicom. 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.