diff options
| author | Jeff Garzik <[email protected]> | 2014-06-27 00:10:53 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2014-06-27 00:10:53 -0400 |
| commit | ed5769f536f663a8deb8e8b7a68681cebaa52bdd (patch) | |
| tree | 1fb0ca0333560b8bba9bdbab7d755d412ecc7c2a /src/rpcprotocol.h | |
| parent | RPC code movement: separate out JSON-RPC execution logic from HTTP server logic (diff) | |
| download | discoin-ed5769f536f663a8deb8e8b7a68681cebaa52bdd.tar.xz discoin-ed5769f536f663a8deb8e8b7a68681cebaa52bdd.zip | |
Move AcceptedConnection class to rpcserver.h.
Also, add parens to HTTPReply() to assist readability.
Diffstat (limited to 'src/rpcprotocol.h')
| -rw-r--r-- | src/rpcprotocol.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/rpcprotocol.h b/src/rpcprotocol.h index 8d415efb1..f1317e9c2 100644 --- a/src/rpcprotocol.h +++ b/src/rpcprotocol.h @@ -71,16 +71,6 @@ enum RPCErrorCode RPC_WALLET_ALREADY_UNLOCKED = -17, // Wallet is already unlocked }; -class AcceptedConnection -{ -public: - virtual ~AcceptedConnection() {} - - virtual std::iostream& stream() = 0; - virtual std::string peer_address_to_string() const = 0; - virtual void close() = 0; -}; - // // IOStream device that speaks SSL but can also speak non-SSL // |