socketFactoryManager.configure(configuration);
String address_str = configuration.getAttribute("OAAddress",null);
if (address_str != null) {
ProtocolAddressBase ep = orb.createAddress(address_str);
if (ep instanceof IIOPAddress)
address = (IIOPAddress)ep;
}
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 ep = orb.createAddress(address_str);
if (ep instanceof IIOPAddress)
sslAddress = (IIOPAddress)ep;
}
else {
int sslPort = configuration.getAttributeAsInteger("OASSLPort",0);