Sha256: 90db61a876567c2d81057702e7be0d27f59dc94f01c4db38876355590b5e6473

Contents?: true

Size: 417 Bytes

Versions: 12

Compression:

Stored size: 417 Bytes

Contents

# Copyright 2009 emonti at matasano.com 
# See README.rdoc for license information
#

module Plug
  module Proxy
    include Base
    attr_accessor :target

    def initialize(transport, target)
      @transport = transport
      @peers = ProxyPeerList.new(self)
      @kind = :proxy
    end

  end

  class ProxyPeerList < PeerList

    def add_peer(addr)
    end

    def add_peer_manually(*args)
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
emonti-rbkb-0.6.2.1 lib/rbkb/plug/proxy.rb
emonti-rbkb-0.6.6 lib/rbkb/plug/proxy.rb
emonti-rbkb-0.6.7 lib/rbkb/plug/proxy.rb
emonti-rbkb-0.6.8 lib/rbkb/plug/proxy.rb
emonti-rbkb-0.6.9.1 lib/rbkb/plug/proxy.rb
emonti-rbkb-0.6.9 lib/rbkb/plug/proxy.rb
rbkb-0.7.2 lib/rbkb/plug/proxy.rb
rbkb-0.7.1 lib/rbkb/plug/proxy.rb
rbkb-0.7.0 lib/rbkb/plug/proxy.rb
rbkb-0.6.12 lib/rbkb/plug/proxy.rb
rbkb-0.6.11 lib/rbkb/plug/proxy.rb
rbkb-0.6.10 lib/rbkb/plug/proxy.rb