Package net.mindlee.concurrent.activeobject.ao

Examples of net.mindlee.concurrent.activeobject.ao.Result


  public void run() {
    try {
      for (int i = 0; true; i++) {
        // û�д���ֵ�ĺ���
        Result result = activeObject.makeString(i, fillchar);
        Thread.sleep(10);
        String value = (String) result.getResultValue();
        System.out.println(Thread.currentThread().getName()
            + ": value = " + value);
      }
    } catch (InterruptedException e) {
    }
View Full Code Here

TOP

Related Classes of net.mindlee.concurrent.activeobject.ao.Result

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.