Package com.sun.star.corba.iop

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


  }

  private XInterface read_objref(TypeDescription typeDescription) throws Exception {
    XInterface xInterface = null;

    IOR ior = (IOR)readObject(__IORTypeDescription);
   
    // is it the empty ref?
    if(ior.profiles.length != 0) {
      String sType = ior.type_id.theString;
      byte profileBody_bytes[] = ior.profiles[0].profile_data;
View Full Code Here

    TargetAddress targetAddress = new TargetAddress(-7,
                            (short)0,
                            marshalObjectKey(oid, typeDescription.getTypeName()),
                            new TaggedProfile(2, new byte[]{(byte)7, (byte)6, (byte)5}),
                            new IORAddressingInfo(3,
                                        new IOR(new CorbaString8(""),
                                            new TaggedProfile[0])
                                          )
                              );

    LogicalThreadID logicalThreadID = new LogicalThreadID(new OneThreadID[]{new OneThreadID(0, threadId.getBytes())});
View Full Code Here

TOP

Related Classes of com.sun.star.corba.iop.IOR

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.