Class: Metasploit::Aggregator::Cable

Inherits:
Object
  • Object
show all
Defined in:
lib/metasploit/aggregator/cable.rb

Constant Summary collapse

HTTPS =
'https'
HTTP =
'http'

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(thread, server, forwarder) ⇒ Cable

Returns a new instance of Cable.



11
12
13
14
15
# File 'lib/metasploit/aggregator/cable.rb', line 11

def initialize(thread, server, forwarder)
  @thread = thread
  @forwarder = forwarder
  @server = server
end

Instance Attribute Details

#forwarderObject (readonly)

Returns the value of attribute forwarder.



7
8
9
# File 'lib/metasploit/aggregator/cable.rb', line 7

def forwarder
  @forwarder
end

#serverObject (readonly)

Returns the value of attribute server.



8
9
10
# File 'lib/metasploit/aggregator/cable.rb', line 8

def server
  @server
end

#threadObject (readonly)

Returns the value of attribute thread.



9
10
11
# File 'lib/metasploit/aggregator/cable.rb', line 9

def thread
  @thread
end