Examples of MBox


Examples of erjang.m.rpc.MBox

    return call(mod, fun, EList.fromArray(args));
  }
 
  public static EObject call(EAtom mod, EAtom fun, ESeq args) {
   
    MBox mbox = new MBox();
    ESeq callargs = EList.make(mod, fun, args, mbox);
    EProc proc = new EProc(default_groupleader(), am_rpc, am_call_from_java, callargs);
    ERT.run(proc);
    //proc.joinb();

    return mbox.get_b();
  }
View Full Code Here

Examples of erjang.m.rpc.MBox

  }
 
 
  public static EObject call(EAtom mod, EAtom fun, ESeq args, long timeout) {
   
    MBox mbox = new MBox();
   
    EProc proc = new EProc(default_groupleader(),
                       am_rpc, am_call_from_java,
                       EList.make(mod, fun, args, mbox));
    ERT.run(proc);

    return mbox.get_b(timeout);
  }
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.