mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
adds method to retrieve connection handle from iostream connections
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user