* @deprecated This method cannot return a sensible result in the presence
* of alternate transports, use {@link #getEndpointProfiles()} instead.
*/
public String getAddress()
{
IIOPListener l = getIIOPListener();
if (l != null)
{
IIOPProfile profile = (IIOPProfile)l.endpoint();
return ((IIOPAddress)profile.getAddress()).getHostname();
}
throw new RuntimeException("Cannot find server address for non-IIOP transport");
}