/** * Write out this IIOPProfileTemplateImpl only. */ public void writeContents(OutputStream os) { giopVersion.write(os); primary.write(os); if (giopVersion.getMinor() > 0) EncapsulationUtility.writeIdentifiableSequence(this, os); }
/** * Write out this IIOPProfileTemplateImpl only. */ public void writeContents(OutputStream os) { giopVersion.write(os); primary.write(os); if (giopVersion.getMinor() > 0) EncapsulationUtility.writeIdentifiableSequence(this, os); }
public void write(org.omg.CORBA.portable.OutputStream ostream) { ostream.write_long(this.magic); nullCheck(this.GIOP_version); this.GIOP_version.write(ostream); ostream.write_boolean(this.byte_order); ostream.write_octet(this.message_type); ostream.write_ulong(this.message_size); }
public void write(org.omg.CORBA.portable.OutputStream ostream) { ostream.write_long(this.magic); nullCheck(this.GIOP_version); this.GIOP_version.write(ostream); ostream.write_boolean(this.byte_order); ostream.write_octet(this.message_type); ostream.write_ulong(this.message_size); }
public void write(org.omg.CORBA.portable.OutputStream ostream) { ostream.write_long(this.magic); nullCheck(this.GIOP_version); this.GIOP_version.write(ostream); ostream.write_octet(this.flags); ostream.write_octet(this.message_type); ostream.write_ulong(this.message_size); } } // class Message_1_1
public void write(org.omg.CORBA.portable.OutputStream ostream) { ostream.write_long(this.magic); nullCheck(this.GIOP_version); this.GIOP_version.write(ostream); ostream.write_octet(this.flags); ostream.write_octet(this.message_type); ostream.write_ulong(this.message_size); } } // class Message_1_1
public void write(ObjectKeyTemplate okeyTemplate, ObjectId id, OutputStream os) { giopVersion.write(os); primary.write(os); // Note that this is NOT an encapsulation: do not marshal the endianness flag. However, the length is required. // Note that this cannot be accomplished with a codec! // Use the byte order of the given stream OutputStream encapsulatedOS = new EncapsOutputStream((ORB) os.orb(), ((CDROutputStream) os).isLittleEndian()); okeyTemplate.write(id, encapsulatedOS); EncapsulationUtility.writeOutputStream(encapsulatedOS, os); if (giopVersion.getMinor() > 0) EncapsulationUtility.writeIdentifiableSequence(this, os); }
public void write(ObjectKeyTemplate okeyTemplate, ObjectId id, OutputStream os) { giopVersion.write(os); primary.write(os); // Note that this is NOT an encapsulation: do not marshal the endianness flag. However, the length is required. // Note that this cannot be accomplished with a codec! // Use the byte order of the given stream OutputStream encapsulatedOS = new EncapsOutputStream((ORB) os.orb(), ((CDROutputStream) os).isLittleEndian()); okeyTemplate.write(id, encapsulatedOS); EncapsulationUtility.writeOutputStream(encapsulatedOS, os); if (giopVersion.getMinor() > 0) EncapsulationUtility.writeIdentifiableSequence(this, os); }