Example #1
0
 /// <summary>
 /// Initializes the object with the default values
 /// </summary>
 /// <param name="server">The server associated with the browser</param>
 /// <param name="session">The session associated with the browser</param>
 public AreaBrowser(ComAeProxy server, Session session)
 {
     m_server = server;
     m_session = session;
     // ensure browse stack has been initialized.
     if (m_browseStack.Count == 0)
     {
         INode parent = m_session.NodeCache.Find(Objects.Server);
         m_browseStack.Push(parent);
     }
 }
 /// <summary>
 /// Called from server object finalizer to remove server reference from the global list
 /// </summary>
 /// <param name="s"></param>
 public void ServerListRemove(ComAeProxy s)
 {
     m_EvServerSet.Remove(s);
 }
 /// <summary>
 /// Called from server object constructor to insert server reference into the global list
 /// </summary>
 /// <param name="s"></param>
 public void ServerListInsert(ComAeProxy s)
 {
     m_EvServerSet.Add(s);
 }