Package com.sun.star.corba

Examples of com.sun.star.corba.ObjectKey


    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);
     
      ObjectKey objectKey = new ObjectKey(new CorbaString8(oId), new CorbaString8(sType));
      Marshal tmpMarshal = new Marshal(littleEndian, bridge);
      tmpMarshal.writeObject(Unmarshal.__ObjectKeyTypeDescription, objectKey);
     
      ProfileBody_1_1 profileBody = new ProfileBody_1_1(new com.sun.star.corba.iiop.Version((byte)1, (byte)2),
                                new CorbaString8("unknown"),
View Full Code Here


      ProfileBody_1_1 profileBody = (ProfileBody_1_1)unmarshal.readObject(__ProfileBody_1_1TypeDescription);
   
      byte key_bytes[] = profileBody.object_key;
     
      Unmarshal tmpUnmarshal = new Unmarshal(key_bytes, key_bytes.length, littleEndian, _bridge);
      ObjectKey objectKey = (ObjectKey)tmpUnmarshal.readObject(__ObjectKeyTypeDescription);
     
      xInterface = (XInterface)_bridge.mapInterfaceFrom(objectKey.sOid.theString, new Type(typeDescription));
     
      if(DEBUG) System.err.println("#### Unmarshal.read_objref - oid:" + objectKey.sOid.theString + " stype:" + objectKey.sType.theString + " xInterface:" + xInterface);
    }
View Full Code Here

    _flushList = new Vector();
  }

  static private byte[] marshalObjectKey(String oId, String sType) throws Exception {
    Marshal marshal = new Marshal(false, null);
    marshal.writeObject(__ObjectKeyTypeDescription, new ObjectKey(new CorbaString8(oId), new CorbaString8(sType)));
    byte bytes[] = marshal.reset();

    return bytes;
  }
View Full Code Here

    RequestHeader_1_2 requestHeader = (RequestHeader_1_2)unmarshal.readObject(__RequestHeader_1_2TypeDescription);
   
    LogicalThreadID logicalThreadID = unmarshalLogicalThreadID(unmarshal.isLittleEndian(), requestHeader.service_context[0].context_data);
   
    ObjectKey objectKey = unmarshalObjectKey(unmarshal.isLittleEndian(), requestHeader.target.object_key);
   
    boolean synchron = (requestHeader.response_flags != 0); // if != 0, then it should be 3
   
    TypeDescription typeDescription = TypeDescription.getTypeDescription(objectKey.sType.theString);
    ThreadID threadId = new ThreadID(logicalThreadID.IDs[0].threadID);
View Full Code Here

TOP

Related Classes of com.sun.star.corba.ObjectKey

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.