Examples of IIOPAddress


Examples of org.jacorb.orb.iiop.IIOPAddress

        {
            if (addressString == null)
            {
                if (host != null || port != -1)
                {
                    address = new IIOPAddress ();
                    address.configure(configuration);
                    if (host != null)
                    {
                        ((IIOPAddress)address).setHostname(host);
                    }
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPAddress

        {
            TaggedComponentList components =
                (TaggedComponentList)componentMap.get(ObjectUtil.newInteger(TAG_INTERNET_IOP.value));
            if(this.isSSLRequiredInComponentList(components))
            {
                iiopProfile.patchPrimaryAddress(new IIOPAddress(null, 0));
            }
        }

        // add GIOP 1.0 profile if necessary
        if ( (iiopProfile != null)
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPAddress

    {
        if( info == null )
        {
            info = reg.get_imr_info();
        }
        return new IIOPAddress (info.host, info.port);
    }
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPAddress

    row.addElement( last.id );
    row.addElement( last.kind);
    row.addElement( pior.getTypeId() );
    IIOPProfile p = (IIOPProfile)pior.getEffectiveProfile();
    final IIOPAddress iiopAddress = (IIOPAddress)p.getAddress();
        row.addElement( iiopAddress.getIP() );
    row.addElement( Integer.toString(iiopAddress.getPort()) );
        return row;
    }
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPAddress

    {
        if( info == null )
        {
            info = reg.get_imr_info();
        }
        return new IIOPAddress (info.host, info.port);
    }
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPAddress

          IIOPProfile cloneOfPrimary = (IIOPProfile) primaryProf.clone();

          // now add alternate addresses to primary profile
           for (Iterator i = alternateAddresses.iterator(); i.hasNext();) {

             IIOPAddress addr = (IIOPAddress)i.next();
             primaryProf.addComponent( TAG_ALTERNATE_IIOP_ADDRESS.value, addr.toCDR() );
          }

           // now add a secondary and third profile like used e.g. by
           // Visibroker 4.5
          for (Iterator i = alternateAddresses.iterator(); i.hasNext();)
          {
              IIOPAddress addr = (IIOPAddress)i.next();

              IIOPProfile additionalProfile =
                  (IIOPProfile) primaryProf.clone();

              additionalProfile.patchPrimaryAddress(addr);
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPAddress

        }
    }

    public void addAlternateAddress(String host, int port)
    {
        IIOPAddressInterceptor.alternateAddresses.add (new IIOPAddress (host, port));
    }
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPAddress

 
    public void establish_components(IORInfo info)
    {
    for (Iterator i = alternateAddresses.iterator(); i.hasNext();)
    {
      IIOPAddress addr = (IIOPAddress)i.next();
      info.add_ior_component_to_profile
      (
        new TaggedComponent
        (
          TAG_ALTERNATE_IIOP_ADDRESS.value,
          addr.toCDR()
        ),
        TAG_INTERNET_IOP.value
      );
    }
    }
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPAddress

        try
        {
            if (addressString == null) {
                if (host != null || port != -1) {
                    address = new IIOPAddress ();
                    address.configure(configuration);
                    if (host != null)
                    {
                        ((IIOPAddress)address).setHostname(host);
                    }
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPAddress

        for( int i = 0; i < bidir_ctx.listen_points.length; i++ )
        {
            ListenPoint listenPoint = bidir_ctx.listen_points[i];

            IIOPAddress addr = new IIOPAddress (listenPoint.host, listenPoint.port);

            if (logger.isDebugEnabled())
            {
                logger.debug("Client conn. added to target " + addr );
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.