Transition into ready state.

This commit is contained in:
Ian Gulliver
2015-02-07 13:32:49 -08:00
parent 55ca78194c
commit 36bdebe5e0
2 changed files with 22 additions and 2 deletions

View File

@@ -49,6 +49,7 @@ class CryptoPubServerConnection : public CryptoBase {
private:
static void OnReadable_(struct bufferevent* bev, void* this__);
void OnReadable();
void OnHandshake(const std::string& input);
static void OnError_(struct bufferevent* bev, const short what, void* this__);
void OnError(const short what);
@@ -79,6 +80,7 @@ class CryptoPubClient : public CryptoBase {
private:
static void OnReadable_(struct bufferevent* bev, void* this__);
void OnReadable();
void OnHandshake(const std::string& input);
static void OnConnectOrError_(struct bufferevent* bev, const short what, void* this__);
void OnConnect();
void OnError();