Package org.jacorb.poa.AGM

Examples of org.jacorb.poa.AGM.TGTCWrapper


    * @param oid
    * @return the size of the group
    */
   synchronized int addToGroup (TagGroupTaggedComponent tagGroupTaggedComponent, byte[] oid)
   {
      TGTCWrapper t = new TGTCWrapper (tagGroupTaggedComponent);
      ArrayList members = (ArrayList)groupTable.get (t);

      if (members == null)
      {
         members = new ArrayList ();
View Full Code Here


    * @param oid
    * @return the size of the group
    */
   synchronized int removeFromGroup (TagGroupTaggedComponent tagGroupTaggedComponent, byte[] oid)
   {
      TGTCWrapper t = new TGTCWrapper (tagGroupTaggedComponent);
      ArrayList members = (ArrayList)groupTable.get (t);

      if (members == null)
      {
         // no group exists in the table so return 0 for no members.
View Full Code Here

    * @param tagGroup
    * @return the group members oids as strings
    */
   final byte[][] getMembersFromGroup (TagGroupTaggedComponent tagGroup)
   {
      TGTCWrapper t = new TGTCWrapper (tagGroup);
      ArrayList members = (ArrayList)groupTable.get (t);

      return
      (
         members == null ?
View Full Code Here

   {
      ArrayList<TGTCWrapper> keyList = new ArrayList<TGTCWrapper> ();

      for (Iterator<TGTCWrapper> iterator = groupTable.keySet ().iterator (); iterator.hasNext ();)
      {
         TGTCWrapper t = (TGTCWrapper)iterator.next ();
         byte [][]oids = getMembersFromGroup (t.tcgtc);

         for (int i = 0; i < oids.length; i++)
         {
            if (Arrays.equals (oids[i], oid))
View Full Code Here

TOP

Related Classes of org.jacorb.poa.AGM.TGTCWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.