socketFactoryManager = orb.getTransportManager().getSocketFactoryManager();
String address_str = configuration.getAttribute("OAAddress",null);
if (address_str != null)
{
ProtocolAddressBase addr = orb.createAddress(address_str);
if (addr instanceof IIOPAddress)
{
address = (IIOPAddress)addr;
}
}
else
{
int oaPort = configuration.getAttributeAsInteger("OAPort",0);
String oaHost = configuration.getAttribute("OAIAddr","");
address = new IIOPAddress(oaHost,oaPort);
}
if (address != null)
{
address.configure (configuration);
}
address_str = configuration.getAttribute("OASSLAddress",null);
if (address_str != null)
{
ProtocolAddressBase addr = orb.createAddress(address_str);
if (addr instanceof IIOPAddress)
{
sslAddress = (IIOPAddress)addr;
}
}