out.println("TAG_INTERNET_IOP Profiles:");
for( int i = 0; i < profiles.size(); i++ )
{
out.println("\tProfile Id:\t\t" + i);
IIOPProfile profile = (IIOPProfile)profiles.get(i);
out.println("\tIIOP Version:\t\t" +
(int)profile.version().major + "." +
(int)profile.version().minor);
out.println("\tHost:\t\t\t" +
((IIOPAddress)profile.getAddress()).getOriginalHost());
int port = ((IIOPAddress)profile.getAddress()).getPort();
if( port < 0 )
{
port += 65536;
}
out.println("\tPort:\t\t\t" + port );
out.println("\tObject key (URL):\t" + CorbaLoc.parseKey( profile.get_object_key()));
out.print ("\tObject key (hex):\t0x" );
dumpHex( profile.get_object_key(), out);
out.println();
if ( profile.version().minor >= ( char ) 1 )
{
if( profile.getComponents().size() > 0 )
{
out.println("\t-- Found " +
profile.getComponents().size() +
" Tagged Components--" );
}
printTaggedComponents( profile.getComponents().asArray(), out);
}
out.print("\n");
}
TaggedComponentList multiple_components = pior.getMultipleComponents();