static public AServerAddress hsaToASA(HServerAddress hsa) throws IOException { AServerAddress asa = new AServerAddress(); asa.hostname = new Utf8(hsa.getHostname()); asa.inetSocketAddress = new Utf8(hsa.getInetSocketAddress().toString()); asa.port = hsa.getPort(); return asa; }