Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.8 KiB

  1. 3/17/01 JosephJ Stuff to do
  2. 1. Define interfaces for async error reporting.
  3. 0. Make ConfigureAndBind take an out parameter which is a generation number.
  4. Sequence of steps:
  5. 1. Check for connectivity using ping
  6. 2. Do WMI operation
  7. 3. Verify result
  8. 1 hour: review code, make notes.
  9. Operation: Connect To Existing
  10. LeftView::OnWorldConnect
  11. ClusterConnectPage::ClusterConnectPage
  12. CommonNLB::connectToClusterIndirect
  13. MNLBMachine::getClusterProperties
  14. MwmiObject::getSpecificInstance
  15. WMI core APIs
  16. List of classes
  17. LeftView.h (exe):class LeftView : public CTreeView, public DataSinkI
  18. LeftView.cpp (exe):LeftView::LeftView()
  19. LeftView.cpp (exe):LeftView::~LeftView()
  20. LeftView.cpp (exe):LeftView::GetDocument()
  21. LeftView.cpp (exe):LeftView::OnInitialUpdate()
  22. LeftView.cpp (exe):LeftView::OnRButtonDown( UINT nFlags, CPoint point )
  23. LeftView.cpp (exe):LeftView::OnWorldConnect()
  24. LeftView.cpp (exe):LeftView::OnWorldNewCluster()
  25. LeftView.cpp (exe):LeftView::OnClusterProperties()
  26. LeftView.cpp (exe):LeftView::OnClusterManageVIPS()
  27. LeftView.cpp (exe):LeftView::OnHostProperties()
  28. LeftView.cpp (exe):LeftView::OnClusterRemove()
  29. LeftView.cpp (exe):LeftView::OnClusterUnmanage()
  30. LeftView.cpp (exe):LeftView::OnClusterAddHost()
  31. LeftView.cpp (exe):LeftView::OnHostRemove()
  32. LeftView.cpp (exe):LeftView::OnClusterControl( UINT nID )
  33. LeftView.cpp (exe):LeftView::OnClusterPortControl( UINT nID )
  34. LeftView.cpp (exe):LeftView::OnHostControl( UINT nID )
  35. LeftView.cpp (exe):LeftView::OnHostPortControl( UINT nID )
  36. LeftView.cpp (exe):LeftView::dataSink( _bstr_t data )
  37. LeftView.cpp (exe):LeftView::OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult)
  38. LeftView.cpp (exe):LeftView::doesClusterExistInView( const _bstr_t& clusterToCheck )
  39. Things should be greatly simplified:
  40. UtilityFunctions:
  41. PingHost
  42. HostInformation:
  43. Host.GetHostInformation(HostInfo)
  44. Machine name, dns name
  45. List of NICs and IPs bound to them
  46. Configuration operations:
  47. Host.GetClusterConfiguration(NIC-Guid, &Config)
  48. Host.SetClusterConfiguration(NIC-Guid, Params, &RequestId) --> Async return
  49. Host.GetAsyncResult(RequestId, &ResultCode, &ResultStrings);
  50. Management operations:
  51. Host.GetClusterState(NIC-Guid, &ClusterState)
  52. Host.SetClusterState(NIC-Guid, ClusterState)
  53. Command-line arguments:
  54. do -host: -nic: -config: -cmd:
  55. To Do:
  56. 1. Host.Host("connection information");
  57. 2. Host.Ping();
  58. 3. Host.Connect();
  59. 3. Host.Disconnect();
  60. 4. Host.GetHostInfo
  61. 4. Host.Get/SetClusterConfiguration()
  62. JosephJ 3/21/01
  63. Search MSDN for "Idle Loop Processing" -- there is code there for
  64. adding MFC-compatible message processing while doing blocking operations.
  65. JosephJ 3/24/01 using namespace std, vectors.
  66. To use the <vector> template as is you need the statement:
  67. using namespace std;