Package net.hasor.rsf.runtime.client

Examples of net.hasor.rsf.runtime.client.RsfClientFactory.connect()


*/
public class Client {
    public void after() throws IOException, URISyntaxException, InterruptedException {
        RsfContext context = new ServerRsfContext();
        RsfClientFactory factary = new RsfClientFactory(context);
        RsfClient client = factary.connect("127.0.0.1", 8000);
        //
        RsfService services = client.getRemoteService("net.hasor.rsf._test.TestServices");
        //
        //发起100万次调用.
        for (int i = 0; i < 1000000; i++) {
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.