Package org.omg.ETF

Examples of org.omg.ETF.Profile


            StringTokenizer tokenizer = new StringTokenizer( sb, "," );
            profileList = new Profile[tokenizer.countTokens()];
            int pIndex = 0;
            for( int i = 0; i < profileList.length; i++ )
            {
                Profile p = parseAddress(tokenizer.nextToken());
                if (p == null)
                {
                    continue;
                }
                profileList[pIndex] = p;
View Full Code Here


            is_rir = true;
            /* resolve initials references protocol */
            return null;
        }

        Profile result = null;
        if (orb == null
            && (colon == 0
                || addr.startsWith("iiop:")
                || addr.startsWith("ssliop:")))
        {
View Full Code Here

        else
        {
            this.target = orb._getObject( pior );
        }

        Profile profile = pior.getEffectiveProfile();

        // If this ParsedIOR is using a profile that extends ProfileBase e.g. IIOPProfile
        // and WIOP (within the regression suite) then grab the effective profile and the
        // possibly null effective_components.
        if (profile instanceof ProfileBase)
View Full Code Here

    public int get_number_of_profiles(int tag)
    {
       int retVal = 0;
       for (int i=0; i < _profiles.size(); i++)
       {
           Profile p = (Profile) _profiles.get(i);
           if ( p.tag() == tag )
           {
              retVal++;
           }
       }
       return retVal;
View Full Code Here

     *                   out of range
     */
    public org.omg.ETF.Profile get_profile(int tag, int position)
    {
       int cnt = position;
       Profile result = null;
       for (int i=0; i < _profiles.size(); i++)
       {
           Profile profile = (Profile) _profiles.get(i);
           if ( profile.tag() == tag && cnt == 0)
           {
              result = profile;
              break;
           }
           cnt--;
View Full Code Here

     * @return           first profile or null if no profile with given
     *                   tag exists
     */
    public org.omg.ETF.Profile get_profile(int tag)
    {
       Profile result = null;
       for (int i=0; i < _profiles.size(); i++)
       {
           Profile profile = (Profile) _profiles.get(i);
           if ( profile.tag() == tag )
           {
              result = profile;
              break;
           }
       }
View Full Code Here

    public Profile decode_corbaloc (String corbaloc)
    {
        final int colon = corbaloc.indexOf (':');
        final String token = corbaloc.substring (0,colon).toLowerCase();
        final Profile result;

        if (token.length() == 0 ||
            "diop".equals(token))
        {
            result = new IIOPProfile(corbaloc);
View Full Code Here

        Iterator<Profile> i = endpoints.iterator();
        final List listenPoints = new ArrayList();
        while(i.hasNext())
        {
            Profile profile = i.next();

            if (profile instanceof ProfileBase)
            {
                listenPoints.addAll(((ProfileBase)profile).asListenPoints());
            }
View Full Code Here

    * @return the selected profile
    */
   @Override
   public Profile selectProfile (List<Profile> profiles, ClientConnectionManager ccm)
   {
      Profile miop = null, iiop = null;

      for (Iterator<Profile> i = profiles.iterator (); i.hasNext ();)
      {
         Profile profile = i.next ();

         switch (profile.tag ())
         {
            case TAG_UIPMC.value:
            {
               miop = profile;
               break;
View Full Code Here

            StringTokenizer tokenizer = new StringTokenizer( sb, "," );
            profileList = new Profile[tokenizer.countTokens()];
            int pIndex = 0;
            for( int i = 0; i < profileList.length; i++ )
            {
                Profile p = parseAddress(tokenizer.nextToken());
                if (p == null)
                {
                    continue;
                }
                profileList[pIndex] = p;
View Full Code Here

TOP

Related Classes of org.omg.ETF.Profile

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.