package org.msgpack.rpc.client;

/**
 * The class to represent the network address.
 * Currently, only IPv4 is supported in this version.
 *
 * @TODO support IPv6
 * @TODO consider about UNIX domain soket.
 * But Java doesn't support that.
 */
public class Address {
    protected String host;
    protected int port;
    
    Address(String host, int port) {
        this.host = host;
        this.port = port;
    }
    
    /**
     * Get the hostname.
     * @return the hostname.
     */
    String getHost() {
        return host;
    }
    
    /**
     * Get the port number.
     * @return the port number.
     */
    int getPort() {
        return port;
    }
}

@@ -490,16 +490,23 @@
  */%0A    
+public 
 String g
@@ -628,16 +628,23 @@
  */%0A    
+public 
 int getP

make getHost() and getPort() public