}
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);
}
}