Changes between Version 8 and Version 9 of Internal/NewNodeAgent


Ignore:
Timestamp:
Nov 24, 2014, 10:54:17 PM (9 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/NewNodeAgent

    v8 v9  
    1212''' Design Notes: '''
    1313
    14 '''kmodule.rb'''[[BR]]
     14''' Lib:kmodule.rb ''' [[BR]]
     15''' Class:kmodule ''' [[BR]]
    1516''' Interface: '''
    1617 * new (private)
    1718 * instance - give you and instance of the object with checks to make sure the module name is unique
    1819 * mload(private) - loads the module if needed and registers a reference to the class that requested the load
    19  * munload - unloads module is conditions are met, and de-registers the unload requestor
     20 * munload - unloads module is conditions are met, and de-registers the unload requester
    2021 * loaded? - preforms an actual check to see if module is loaded
    2122
    2223Moving all the functionality of module handling into a separate class. There may be a need to have drivers load multiple modules. Additionally the module class needs to keep track of how many devices are using one module (as there may be many to one). The unload method should only unload if the last reference asks it to (all other references have de-registered).
    2324
    24 ''' nodeagent.rb: '''[[BR]]
     25''' Lib:nodeagent.rb: '''[[BR]]
     26''' Class:nodeagent.rb: '''[[BR]]
    2527''' Interface '''
    2628 * hwDiscover -
     
    8284 * connected?()
    8385 * connect_simple(ssid)
     86 * connect_adhoc
     87 * disconnect_simple
     88 * disconnect_adhoc
    8489 * disconnect()
    8590 * checkStatus(retries = true)