README.md in tribe_em_amfsocket-0.1.0 vs README.md in tribe_em_amfsocket-0.2.0

- old
+ new

@@ -25,19 +25,19 @@ def on_post_init(event) puts "Actor (#{identifier}) connected to client using thread (#{Thread.current.object_id})." super end - + def on_unbind(event) puts "Actor (#{identifier}) disconnected from client using thread (#{Thread.current.object_id})." super end def on_receive_message(event) puts "Actor (#{identifier}) received message (command=#{event.data.command}, params=#{event.data.params} using thread (#{Thread.current.object_id})." write_message(event.data.command, event.data.params) - enqueue(:shutdown) + shutdown! end end # Create your server actor. server = Tribe::EM::TcpServer.new('localhost', 9000, EchoConnection)