Examples of RsfRequest


Examples of net.hasor.rsf.runtime.RsfRequest

        //
        RsfService services = client.getRemoteService("net.hasor.rsf._test.TestServices");
        //
        //发起100万次调用.
        for (int i = 0; i < 1000000; i++) {
            RsfRequest rsfRequest = services.newRequest("sayHello", new Object[] { "你好..." });
            Object data = client.syncInvoke(rsfRequest);
        }
        //
        client.close();
    }
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.