Created
May 19, 2010 18:38
-
-
Save sprite2005/406664 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def actions_connection_established | |
| @actions_state = :connected | |
| @actions_writer_thread = Thread.new(&method(:write_loop)) | |
| end | |
| def actions_connection_disconnected | |
| @actions_state = :disconnected | |
| end | |
| def events_connection_established | |
| @events_state = :connected | |
| end | |
| def actions_connection_disconnected | |
| @events_state = :disconnected | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment