driver-legacy/src/main/com/mongodb/Mongo.java
@Deprecated
    @Nullable
    public String getConnectPoint() {
        ServerAddress master = getAddress();
        return master != null ? String.format("%s:%d", master.getHost(), master.getPort()) : null;
    }
@Deprecated
    @Nullable
    public String getConnectPoint() {
        ServerAddress master = getAddress();
        return master != null ? String.format("%s:%d", master.getHost(), master.getPort()) : null;
    }
@ Deprecated @ Nullable public String getConnectPoint ( ) { ServerAddress master = getAddress ( ) ; return master != null ? String . format ( "%s:%d" , master . getHost ( ) , master . getPort ( ) ) : null ; }
Gets a {@code String} representation of current connection point, i.e. master.

@return server address in a host:port form
Gets a { @code String } representation of current connection point i . e . master .