Skip to content

Instantly share code, notes, and snippets.

@sprite2005
Created May 19, 2010 18:38
Show Gist options
  • Select an option

  • Save sprite2005/406664 to your computer and use it in GitHub Desktop.

Select an option

Save sprite2005/406664 to your computer and use it in GitHub Desktop.
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