Sha256: 25ac1ea004715c6530d6e3c77d01d66db32b7406586283bd818708b9efb70809

Contents?: true

Size: 490 Bytes

Versions: 13

Compression:

Stored size: 490 Bytes

Contents

#!/usr/bin/env ruby1.9.1

data = Marshal.load($stdin.gets)

require "#{data[:knjrbfw_path]}knjrbfw"
require "#{File.dirname(__FILE__)}/../knjappserver.rb"
require "#{File.dirname(__FILE__)}/../include/class_knjappserver_leakproxy_client.rb"

require "#{$knjpath}/process"

process = Knj::Process.new(
  :in => $stdin,
  :out => $stdout,
  :listen => true,
  :on_rec => proc{|d|
    d.answer("unknown command")
  }
)



process.send(
  "type" => "print",
  "msg" => "Test?\n"
)

process.join

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
knjappserver-0.0.30 lib/scripts/leakproxy.rb
knjappserver-0.0.29 lib/scripts/leakproxy.rb
knjappserver-0.0.28 lib/scripts/leakproxy.rb
knjappserver-0.0.26 lib/scripts/leakproxy.rb
knjappserver-0.0.25 lib/scripts/leakproxy.rb
knjappserver-0.0.24 lib/scripts/leakproxy.rb
knjappserver-0.0.23 lib/scripts/leakproxy.rb
knjappserver-0.0.22 lib/scripts/leakproxy.rb
knjappserver-0.0.21 lib/scripts/leakproxy.rb
knjappserver-0.0.20 lib/scripts/leakproxy.rb
knjappserver-0.0.19 lib/scripts/leakproxy.rb
knjappserver-0.0.18 lib/scripts/leakproxy.rb
knjappserver-0.0.17 lib/scripts/leakproxy.rb