Method: RxIO::Client#run
- Defined in:
- lib/rxio/client.rb
#run ⇒ Object
Run: Executes the main client loop, taking care of I/O scheduling and message handling.
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/rxio/client.rb', line 90 def run # Update Loop begin # Update Service update until @stop rescue Exception => e puts "[!] ERROR - RxIO Client Update failed - #{e.inspect}" e.backtrace.each { |b| puts " - #{b}" } end # Drop Socket @sock.close if @sock @sock = nil end |