Handle pongs. Ready timer for ping timing.

This commit is contained in:
JoelKatz
2013-01-07 14:34:11 -08:00
parent c4a3f57d9c
commit ba79026185
3 changed files with 17 additions and 11 deletions

View File

@@ -36,6 +36,7 @@ private:
bool mClientConnect; // In process of connecting as client.
bool mHelloed; // True, if hello accepted.
bool mDetaching; // True, if detaching.
bool mActive;
RippleAddress mNodePublic; // Node public key of peer.
ipPort mIpPort;
ipPort mIpPortConnect;
@@ -50,7 +51,7 @@ private:
boost::asio::ssl::stream<boost::asio::ip::tcp::socket> mSocketSsl;
boost::asio::deadline_timer mVerifyTimer;
boost::asio::deadline_timer mActivityTimer;
void handleStart(const boost::system::error_code& ecResult);
void handleVerifyTimer(const boost::system::error_code& ecResult);