Class: Nexpose::MobileDiscoveryConnection
- Inherits:
-
DiscoveryConnection
- Object
- APIObject
- DiscoveryConnection
- Nexpose::MobileDiscoveryConnection
- Defined in:
- lib/nexpose/discovery.rb
Instance Attribute Summary
Attributes inherited from DiscoveryConnection
#address, #collection_method, #engine_id, #event_source, #exchange_hostname, #exchange_password, #exchange_username, #id, #name, #password, #port, #protocol, #status, #type, #user
Instance Method Summary collapse
-
#initialize(name, protocol, address, user, password = nil) ⇒ MobileDiscoveryConnection
constructor
Create a new Mobile discovery connection.
Methods inherited from DiscoveryConnection
#==, #as_xml, #connect, #create, #delete, #discover, #eql?, parse, #save, #to_h, #to_json, #to_xml, #update
Methods included from XMLUtils
#make_xml, #parse_xml, success?
Methods inherited from APIObject
Constructor Details
#initialize(name, protocol, address, user, password = nil) ⇒ MobileDiscoveryConnection
Create a new Mobile discovery connection.
327 328 329 330 331 332 333 334 335 336 |
# File 'lib/nexpose/discovery.rb', line 327 def initialize(name, protocol, address, user, password = nil) @name = name @protocol = protocol @address = address @user = user @password = password @type = Type::ACTIVESYNC @id = -1 @port = 443 # port not used for mobile connection end |