Examples of ActorSystem


Examples of akka.actor.ActorSystem

public class BetClient {

    public static void main(String[] args) {
        System.out.println("*** STARTING TEST OF BETTING APPLICATION");
        BetClient client = new BetClient();
        ActorSystem system = client.init();

        try {
            if (args.length > 0 && args[0].equals("send")) {
                client.sendMessages(system);
            } else {
                client.retrieveMessages(system);
            }
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            system.shutdown();
        }
    }
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.