org.omg.IOP.TaggedComponent c = new org.omg.IOP.TaggedComponent();
c.tag = org.omg.IOP.TAG_ALTERNATE_IIOP_ADDRESS.value;
org.apache.yoko.orb.OCI.Buffer buf = new org.apache.yoko.orb.OCI.Buffer();
OutputStream out = new OutputStream(buf);
out._OB_writeEndian();
out.write_string(hosts_[i]);
out.write_ushort(body.port);
c.component_data = new byte[buf.length()];
System.arraycopy(buf.data(), 0, c.component_data, 0, buf
.length());
components.addElement(c);