public static void insert(org.omg.CORBA.Any a, IORAddressingInfo that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream(); a.type(type()); write(out, that); a.read_value(out.create_input_stream(), type()); }
public static void insert(org.omg.CORBA.Any a, IORAddressingInfo that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream(); a.type(type()); write(out, that); a.read_value(out.create_input_stream(), type()); }
public static void write(org.omg.CORBA.portable.OutputStream ostream, TargetAddress value) { ostream.write_short(value.discriminator()); switch (value.discriminator()) { case KeyAddr.value : ostream.write_long(value.object_key().length); ostream.write_octet_array(value.object_key(), 0, value.object_key().length); break; case ProfileAddr.value : org.omg.IOP.TaggedProfileHelper.write(ostream, value.profile()); break; case ReferenceAddr.value : IORAddressingInfoHelper.write(ostream, value.ior()); break; default : throw new org.omg.CORBA.BAD_OPERATION(); } }
public static void write(org.omg.CORBA.portable.OutputStream ostream, TargetAddress value) { ostream.write_short(value.discriminator()); switch (value.discriminator()) { case KeyAddr.value : ostream.write_long(value.object_key().length); ostream.write_octet_array(value.object_key(), 0, value.object_key().length); break; case ProfileAddr.value : org.omg.IOP.TaggedProfileHelper.write(ostream, value.profile()); break; case ReferenceAddr.value : IORAddressingInfoHelper.write(ostream, value.ior()); break; default : throw new org.omg.CORBA.BAD_OPERATION(); } }