'Constructor'

def __init__(self, settings, agentVersion, pythonVersion, pymongoVersion, pymongoHasC, agentHostname, logger, sessionKey):

    self.logger = logger
    self.sessionKey = sessionKey
    self.settings = settings
    self.pythonVersion = pythonVersion
    self.pymongoVersion = pymongoVersion
    self.pymongoHasC = pymongoHasC
    self.agentHostname = agentHostname
    self.agentVersion = agentVersion
    self.srcVersion = self.settings.src_version
    self.collectionInterval = settings.collection_interval
    self.logCollectionInterval = settings.log_interval
    self.confInterval = settings.conf_interval
    self.disableProfileDataCollection = settings.disableProfileDataCollection
    self.disableGetLogsDataCollection = settings.disableGetLogsDataCollection
    self.hostStateLock = threading.Lock()
    self.hostState = {}
    self.hostStateLastUpdate = {}
    self.operationFailureUrl = (settings.operationFailureUrl % settings.mms_key)
    self.serverHostDefs = {}
    self.serverHostDefsLock = threading.Lock()
    self.serverUniqueHosts = {}
    self.serverUniqueHostsLock = threading.Lock()
    self.pingUrl = (settings.ping_url % settings.mms_key)
    self.disableDbstats = False
    self.done = False
    socket.setdefaulttimeout(settings.socket_timeout)
