diff options
-rw-r--r-- | fnet/src/vespa/fnet/connection.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fnet/src/vespa/fnet/connection.h b/fnet/src/vespa/fnet/connection.h index 4d66f22ce2b..10cf74e79de 100644 --- a/fnet/src/vespa/fnet/connection.h +++ b/fnet/src/vespa/fnet/connection.h @@ -240,10 +240,6 @@ private: bool writePendingAfterConnect(); - /** - * @return address spec of socket peer. Only makes sense to call on non-listening sockets. - */ - vespalib::string GetPeerSpec() const; public: FNET_Connection(const FNET_Connection &) = delete; FNET_Connection &operator=(const FNET_Connection &) = delete; @@ -309,6 +305,10 @@ public: return ((_currentID & 0x01) != (chid & 0x01)); } + /** + * @return address spec of socket peer. Only makes sense to call on non-listening sockets. + */ + vespalib::string GetPeerSpec() const; /** * Does this connection have the ability to accept incoming channels ? |