/[classpath]/classpath/gnu/CORBA/Poa/gnuPOA.java
ViewVC logotype

Diff of /classpath/gnu/CORBA/Poa/gnuPOA.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by audriusa, Fri Jul 22 16:57:47 2005 UTC revision 1.2 by audriusa, Sun Oct 2 19:58:00 2005 UTC
# Line 1533  public class gnuPOA Line 1533  public class gnuPOA
1533        }        }
1534      return h;      return h;
1535    }    }
1536      
1537    /**    /**
1538     * Recursively searches for the given key in the POA tree.     * Recursively searches for the given key in the POA tree.
1539     * @param ior_key the key, ecapsulating both object     * @param ior_key the key, ecapsulating both object
# Line 1612  public class gnuPOA Line 1612  public class gnuPOA
1612      else      else
1613        return null;        return null;
1614    }    }
1615      
1616      /**
1617       * Recursively searches for the given servant in the POA tree.
1618       */
1619      public activeObjectMap.Obj findServant(Servant servant)
1620      {
1621        activeObjectMap.Obj h = aom.findServant(servant);
1622        if (h != null)
1623          return h;
1624        else
1625          {
1626            for (int i = 0; i < children.size(); i++)
1627              {
1628                h = ((gnuPOA) children.get(i)).findServant(servant);
1629                if (h != null)
1630                  return h;
1631              }
1632          }
1633        return h;
1634      }  
1635  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26