Skip to content

Instantly share code, notes, and snippets.

@sdanzig
Last active December 19, 2015 03:59
Sample output of BuddyChat, a simple example of Akka Actors and an Akka FSM ... More details at: http://sdanzig.blogspot.com/2013/06/buddychat-simple-example-of-akka-actors.html
Please type something for your buddies and press enter!
Or, you can type:
stop, to disable chat
start, to restart it
or done, to exit this program!
chicken
buddy1: chicken sounds bad!
buddy3: I don't care about chicken
buddy2: I don't care about chicken
the sky
buddy1: the sky sounds bad!
buddy3: the sky sounds bad!
buddy2: the sky sounds good!
done
Shutting down...
-- Begin server chat log --
user: chicken
buddy1: chicken sounds bad!
buddy3: I don't care about chicken
buddy2: I don't care about chicken
user: the sky
buddy1: the sky sounds bad!
buddy3: the sky sounds bad!
buddy2: the sky sounds good!
-- End server chat log --
[INFO] [06/30/2013 02:24:39.345] [default-akka.actor.default-dispatcher-7] [akka://default/user/manager] Chat shutting down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment