adds method to retrieve connection handle from iostream connections

This commit is contained in:
Peter Thorson
2013-03-30 07:53:45 -05:00
parent 1ddd43ccb0
commit 8ced80b2ed

View File

@@ -139,6 +139,11 @@ public:
std::string get_remote_endpoint() const {
return "iostream transport";
}
/// Get the connection handle
connection_hdl get_handle() const {
return m_connection_hdl;
}
protected:
void init(init_handler callback) {
m_alog.write(log::alevel::devel,"iostream connection init");