Examples of IOR


Examples of com.sun.corba.se.spi.ior.IOR

        return iorToObject(ior);
    }

    private IOR getLocatedIOR()
    {
        IOR ior;
        CorbaContactInfoList contactInfoList = (CorbaContactInfoList)
            messageMediator.getContactInfo().getContactInfoList();
        ior = contactInfoList.getEffectiveTargetIOR();
        return ior;
    }
View Full Code Here

Examples of com.sun.corba.se.spi.ior.IOR

        // delegate ForwardRequest object.
        if( forwardRequest != null ) {
            org.omg.CORBA.Object object = forwardRequest.forward;

            // Convert the forward object into an IOR:
            IOR ior = ORBUtility.getIOR( object ) ;
            info.setLocatedIOR( ior );
        }
    }
View Full Code Here

Examples of com.sun.corba.se.spi.ior.IOR

    /**
     * getINSReference if it is registered in INSObjectKeyMap.
     */
    private IOR getINSReference( String insKey ) {
        IOR entry = ORBUtility.getIOR( orb.getLocalResolver().resolve( insKey ) ) ;
        if( entry != null ) {
            // If entry is not null then the locate is with an INS Object key,
            // so send a location forward with the right IOR.
            return entry;
        }
View Full Code Here

Examples of com.sun.star.corba.iop.IOR

  }

  private void write_objref(Object obj, TypeDescription typeDescription) throws Exception {
    String sType = typeDescription.getTypeName();

    IOR ior = new IOR(new CorbaString8(sType), null);

    if(obj != null) {
      String oId = (String)bridge.mapInterfaceTo(obj, new Type(typeDescription));
     
      if(DEBUG) System.err.println("##### Marshal.write_objref:" + obj + " " + typeDescription + " oId:" + oId + " stype:" + sType);
View Full Code Here

Examples of org.omg.IOP.IOR

        }
    }

    public org.omg.CORBA.Object read_Object()
    {
        IOR ior = IORHelper.read(this);
        if (ior.profiles.length == 0)
        {
            return null;
        }
        ObjectRef stub = null;
View Full Code Here

Examples of org.omg.IOP.IOR

            profile.tag = TAG_INTERNET_IOP.value;
            CdrOutputStream output = CdrOutputStream.getInstanceForEncapsulation();
            ProfileBody_1_1Helper.write(output, profileBody);
            profile.profile_data = output.getEncapsulation();

            IOR ior = new IOR();
            ior.type_id = $getID();
            ior.profiles = new TaggedProfile[] { profile };
            return ior;
        }
        return _ior;
View Full Code Here

Examples of org.omg.IOP.IOR

        return null;
    }

    public String $getIORString()
    {
    IOR ior = $getIOR();
    CdrOutputStream output = CdrOutputStream.getInstanceForEncapsulation();
    output.setGiopVersion(GiopVersion.VERSION_1_0);
    output.write_Object(this);
    byte[] bytes = output.getEncapsulation();
    String hex = Base16Binary.toString(bytes);
View Full Code Here

Examples of org.omg.IOP.IOR

            write_IOR(null);
        }
        else if (value instanceof ObjectRef)
        {
            ObjectRef ref = (ObjectRef)value;
            IOR ior = ref.$getIOR();
            write_IOR(ior);
        }
        else
        {
            throw new org.omg.CORBA.MARSHAL(value.getClass().getName());
View Full Code Here

Examples of org.omg.IOP.IOR

                throw new MARSHAL("Attempt to serialize a locality-constrained object.");
            }
            org.omg.CORBA.portable.ObjectImpl obj =
                (org.omg.CORBA.portable.ObjectImpl)value;

            IOR intermediary = ((Delegate)obj._get_delegate()).getIOR();

            if (isMutatorEnabled)
            {
                intermediary = mutator.mutateOutgoing (intermediary);
            }
View Full Code Here

Examples of org.omg.IOP.IOR

            tc.value = c.asArray();
            p.marshal (tp, tc);
            tps[i] = tp.value;
        }

        return new IOR(repId, tps);
    }
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.