More cleanup for real messages

This commit is contained in:
Ian Gulliver
2015-02-07 13:49:19 -08:00
parent cdd059370d
commit f122f38c43
2 changed files with 49 additions and 21 deletions

View File

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