Sha256: 1212f11d66a2c00314a36ab1f2c5cfdc05cff1d46deb40092fce0c023352d148

Contents?: true

Size: 253 Bytes

Versions: 6

Compression:

Stored size: 253 Bytes

Contents

#!/usr/bin/env ruby

require "rubygems"
require "#{File.dirname(__FILE__)}/../lib/pigato.rb"
#require "pigato"

worker = Pigato::Worker.new('tcp://localhost:55555', 'echo')

loop do
  reply = nil
  request = worker.recv reply
  worker.reply request
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pigato-0.2.8 examples/echo_worker.rb
pigato-0.2.7 examples/echo_worker.rb
pigato-0.2.6 examples/echo_worker.rb
pigato-0.2.5 examples/echo_worker.rb
pigato-0.2.4 examples/echo_worker.rb
pigato-0.2.3 examples/echo_worker.rb