Method: Arachni::RPC::Server::Dispatcher::Node#info

Defined in:
lib/arachni/rpc/server/dispatcher/node.rb

#infoHash

Returns * ‘url` – This node’s URL.

  • ‘pipe_id` – Bandwidth Pipe ID

  • ‘weight` – Weight

  • ‘nickname` – Nickname

  • ‘cost` – Cost.

Returns:

  • (Hash)
    • ‘url` – This node’s URL.

    • ‘pipe_id` – Bandwidth Pipe ID

    • ‘weight` – Weight

    • ‘nickname` – Nickname

    • ‘cost` – Cost



158
159
160
161
162
163
164
165
166
# File 'lib/arachni/rpc/server/dispatcher/node.rb', line 158

def info
    {
        'url'      => @url,
        'pipe_id'  => @options.dispatcher.node_pipe_id,
        'weight'   => @options.dispatcher.node_weight,
        'nickname' => @options.dispatcher.node_nickname,
        'cost'     => @options.dispatcher.node_cost
    }
end