class Nexpose::MobileDiscoveryConnection

Public Class Methods

new(name, protocol, address, user, password = nil) click to toggle source

Create a new Mobile discovery connection.

@param [String] name Name to assign to this connection. @param [DiscoveryConnection::Protocol] protocol The protocol to use for discovery - LDAPS or LDAP @param [String] address IP or fully qualified domain name of the

connection server.

@param [String] user User name for credentials on this connection. @param [String] password Password for credentials on this connection.

# 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