=begin Arachni Copyright (c) 2010-2011 Tasos "Zapotek" Laskos 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 # # # @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