Sha256: 671c0358828a4af4a0c7c848e680d129a53edea22246498be3eaec1b0230de6a

Contents?: true

Size: 270 Bytes

Versions: 2

Compression:

Stored size: 270 Bytes

Contents

class SatParser < EventMachine::Connection
    
  def post_init
    puts "GSAT connected"
  end
  
  def receive_data(data)
    puts "Data received..."
    puts data.inspect
    $channel << data
  end
  
  def unbind
    $channel << "GSAT closed connection"
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
keyhole-0.1.0 lib/sat_parser.rb
keyhole-0.0.0 lib/sat_parser.rb