src/util/batch_environment.cpp
std::string batch_environment::agas_host_name(std::string const& def_agas) const
    {
        std::string host = agas_node_.empty() ? def_agas : agas_node_;
        if (debug_)
            std::cerr << "agas host_name: " << host << std::endl;
        return host;
    }
// We either select the first host listed in the node file or a given
// host name to host the AGAS server.
We either select the first host listed in the node file or a given
host name to host the AGAS server.
We either select the first host listed in the node file or a given host name to host the AGAS server .
std::string batch_environment::agas_host_name(std::string const& def_agas) const
    {
        std::string host = agas_node_.empty() ? def_agas : agas_node_;
        if (debug_)
            std::cerr << "agas host_name: " << host << std::endl;
        return host;
    }
std :: string batch_environment :: agas_host_name ( std :: string const & def_agas ) const { std :: string host = agas_node_ . empty ( ) ? def_agas : agas_node_ ; if ( debug_ ) std :: cerr << " " << host << std :: endl ; return host ; }
We either select the first host listed in the node file or a given
host name to host the AGAS server.
We either select the first host listed in the node file or a given host name to host the AGAS server .