class Connector {

  public String getEndpointAsString() {
    String host;

    try {
      host = InetAddress.getByName(m_hostString).toString();
    }
    catch (UnknownHostException e) {
      host = m_hostString;
    }

    return host + ":" + m_port;
  }

  public  Connector(String hostString,
                   int port,
                   ConnectionType connectionType);

}