Sha256: 2be068710be5e64f175eb8e4b78d728cb46a833245e5282784c72d44ec4bb2da

Contents?: true

Size: 948 Bytes

Versions: 5

Compression:

Stored size: 948 Bytes

Contents

=begin
                  Arachni
  Copyright (c) 2010-2011 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>

  This is free software; you can copy and distribute and modify
  this program under the term of the GPL v2.0 License
  (See LICENSE file for details)

=end

require 'xmlrpc/client'
require 'openssl'

module Arachni

require Arachni::Options.instance.dir['lib'] + 'rpc/xml/client/base'

module RPC
module XML
module Client

#
# XMLRPC Dispatcher client
#
# @author: Tasos "Zapotek" Laskos
#                                      <tasos.laskos@gmail.com>
#                                      <zapotek@segfault.gr>
# @version: 0.1.2
#
class Dispatcher < Base

    def initialize( opts, url )
        super( opts, url )
    end

    private
    #
    # Used to provide the illusion of locality for remote methods
    #
    def method_missing( sym, *args, &block )
        call( "dispatcher.#{sym.to_s}", *args )
    end

end

end
end
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-0.3 lib/rpc/xml/client/dispatcher.rb
arachni-0.2.4 lib/rpc/xml/client/dispatcher.rb
arachni-0.2.3 lib/rpc/xml/client/dispatcher.rb
arachni-0.2.2.2 lib/rpc/xml/client/dispatcher.rb
arachni-0.2.2.1 lib/rpc/xml/client/dispatcher.rb