Package net.mindlee.concurrent.activeobject

Source Code of net.mindlee.concurrent.activeobject.Main

package net.mindlee.concurrent.activeobject;

import net.mindlee.concurrent.activeobject.ao.ActiveObject;
import net.mindlee.concurrent.activeobject.ao.ActiveObjectFactory;

public class Main {
  public static void main(String[] args) {
    ActiveObject activeObject = ActiveObjectFactory.createActiveObject();
    new MakerClientThread("Alice", activeObject).start();
    new MakerClientThread("Bobby", activeObject).start();
    new DisplayClientThread("Chris", activeObject).start();
  }
}
TOP

Related Classes of net.mindlee.concurrent.activeobject.Main

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.