impliments get_remote_endpoint for iostream transport

This commit is contained in:
Peter Thorson
2013-03-17 18:26:46 -05:00
parent 8e2b424887
commit 8e6bdfe42f

View File

@@ -87,6 +87,20 @@ public:
bool is_secure() const {
return false;
}
/// Get the remote endpoint address
/**
* The iostream transport has no information about the ultimate remote
* endpoint. It will return the string "iostream transport". To indicate
* this.
*
* TODO: allow user settable remote endpoint addresses if this seems useful
*
* @return A string identifying the address of the remote endpoint
*/
std::string get_remote_endpoint() const {
return "iostream transport";
}
protected:
void init(init_handler callback) {
m_alog.write(log::alevel::devel,"iostream connection init");