Class: Metasploit::Aggregator::Cable
- Inherits:
-
Object
- Object
- Metasploit::Aggregator::Cable
- Defined in:
- lib/metasploit/aggregator/cable.rb
Constant Summary collapse
- HTTPS =
'https'
- HTTP =
'http'
Instance Attribute Summary collapse
-
#forwarder ⇒ Object
readonly
Returns the value of attribute forwarder.
-
#server ⇒ Object
readonly
Returns the value of attribute server.
-
#thread ⇒ Object
readonly
Returns the value of attribute thread.
Instance Method Summary collapse
-
#initialize(thread, server, forwarder) ⇒ Cable
constructor
A new instance of Cable.
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
#forwarder ⇒ Object (readonly)
Returns the value of attribute forwarder.
7 8 9 |
# File 'lib/metasploit/aggregator/cable.rb', line 7 def forwarder @forwarder end |
#server ⇒ Object (readonly)
Returns the value of attribute server.
8 9 10 |
# File 'lib/metasploit/aggregator/cable.rb', line 8 def server @server end |
#thread ⇒ Object (readonly)
Returns the value of attribute thread.
9 10 11 |
# File 'lib/metasploit/aggregator/cable.rb', line 9 def thread @thread end |