X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fmetaproxy%2Forigin.hpp;h=658872a44423618d23c25c06bf36e14f1db58919;hb=8b5b1897bd1223b6c8608685e0cceb82b47e5aed;hp=f902a8a2b2cff98bf045478b498cf651e31e1fe6;hpb=b02df3fd0849c5222081013420c18f949c55f9c5;p=metaproxy-moved-to-github.git diff --git a/include/metaproxy/origin.hpp b/include/metaproxy/origin.hpp index f902a8a..658872a 100644 --- a/include/metaproxy/origin.hpp +++ b/include/metaproxy/origin.hpp @@ -48,6 +48,9 @@ namespace metaproxy_1 { /// get tcpip address std::string get_address(); + /// get tcpip address + std::string get_bind_address(); + void set_custom_session(const std::string &s); private: friend std::ostream& @@ -57,6 +60,7 @@ namespace metaproxy_1 { unsigned int m_origin_id; int m_max_sockets; std::string m_custom_session; + std::string get_forward_address() const; }; }