Class: Arachni::RPC::XML::Client::Instance

Inherits:
Base show all
Defined in:
lib/rpc/xml/client/instance.rb

Overview

XMLRPC client for remote instances spawned by a remote dispatcher

@author: Tasos “Zapotek” Laskos

<[email protected]>
<[email protected]>

@version: 0.1.1

Defined Under Namespace

Classes: Mapper, OptsMapper

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#call

Constructor Details

#initialize(opts, url) ⇒ Instance

Returns a new instance of Instance.



73
74
75
76
77
78
79
80
81
# File 'lib/rpc/xml/client/instance.rb', line 73

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

    @opts      = OptsMapper.new( @server, 'opts' )
    @framework = Mapper.new( @server, 'framework' )
    @modules   = Mapper.new( @server, 'modules' )
    @plugins   = Mapper.new( @server, 'plugins' )
    @service   = Mapper.new( @server, 'service' )
end

Instance Attribute Details

#frameworkObject (readonly)

Returns the value of attribute framework.



33
34
35
# File 'lib/rpc/xml/client/instance.rb', line 33

def framework
  @framework
end

#modulesObject (readonly)

Returns the value of attribute modules.



34
35
36
# File 'lib/rpc/xml/client/instance.rb', line 34

def modules
  @modules
end

#optsObject (readonly)

Returns the value of attribute opts.



32
33
34
# File 'lib/rpc/xml/client/instance.rb', line 32

def opts
  @opts
end

#pluginsObject (readonly)

Returns the value of attribute plugins.



35
36
37
# File 'lib/rpc/xml/client/instance.rb', line 35

def plugins
  @plugins
end

#serviceObject (readonly)

Returns the value of attribute service.



36
37
38
# File 'lib/rpc/xml/client/instance.rb', line 36

def service
  @service
end