Examples of IIOPAddress


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


    private boolean checkServerActive(String host, int port, byte []object_key, boolean enp_reused)
    {
        ClientConnectionManager   cm           = null;
        IIOPAddress               address      = null;
        ClientConnection          connection   = null;
        LocateRequestOutputStream lros         = null;
        LocateReplyReceiver       receiver     = null;
        LocateReplyInputStream    lris         = null;
        boolean                   result       = false;

        cm = ((org.jacorb.orb.ORB)orb).getClientConnectionManager ();
        try
        {
            address = new IIOPAddress (host, port);
            address.configure(configuration);

            IIOPProfile iiopProfile = new IIOPProfile(address, object_key);
            iiopProfile.configure(configuration);

            connection = cm.getConnection(iiopProfile);
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPAddress

                                       isLocateRequest,
                                       logger);

            // The typecode is for org.omg.CORBA.Object, but avoiding
            // creation of new ObjectHolder Instance.
            IIOPAddress addr = new IIOPAddress (_poa.host,(short)_poa.port);
            org.omg.IOP.IOR _ior = null;
            try
            {
                addr.configure(configuration);
                IIOPProfile p = new IIOPProfile (addr,object_key,giop_minor);
                p.configure(configuration);
                _ior = ParsedIOR.createObjectIOR(p);
            }
            catch(ConfigurationException e)
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

                                       isLocateRequest,
                                       logger);

            // The typecode is for org.omg.CORBA.Object, but avoiding
            // creation of new ObjectHolder Instance.
            IIOPAddress addr = new IIOPAddress (_poa.host,(short)_poa.port);
            org.omg.IOP.IOR _ior = null;
            try
            {
                addr.configure(configuration);
                IIOPProfile p = new IIOPProfile (addr,object_key,giop_minor);
                p.configure(configuration);
                _ior = ParsedIOR.createObjectIOR(p);
            }
            catch(ConfigurationException e)
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPAddress


    private boolean checkServerActive(String host, int port, byte []object_key, boolean enp_reused)
    {
        ClientConnectionManager   cm           = null;
        IIOPAddress               address      = null;
        ClientConnection          connection   = null;
        LocateRequestOutputStream lros         = null;
        LocateReplyReceiver       receiver     = null;
        LocateReplyInputStream    lris         = null;
        boolean                   result       = false;

        cm = ((org.jacorb.orb.ORB)orb).getClientConnectionManager ();
        try
        {
            address = new IIOPAddress (host, port);
            address.configure(configuration);

            IIOPProfile iiopProfile = new IIOPProfile(address, object_key);
            iiopProfile.configure(configuration);

            connection = cm.getConnection(iiopProfile);
View Full Code Here

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

        }
    }

    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
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.