Remove unused functions and clean up some comments

This commit is contained in:
Vinnie Falco
2013-06-11 13:13:31 -07:00
parent e3d844de8f
commit a70ede6cae
12 changed files with 72 additions and 60 deletions

View File

@@ -25,7 +25,22 @@ public:
omFULL = 4 // we have the ledger and can even validate
};
typedef boost::unordered_map<uint64, InfoSub::wptr> subMapType;
#if 0
/** Subscription data interface.
*/
class Subscriber
{
public:
typedef boost::weak_ptr <Subscriber> WeakPtr;
/** Called every time new JSON data is available.
*/
virtual void onSubscriberReceiveJSON (Json::Value const& json) { }
};
typedef boost::unordered_map <uint64, Subscriber::WeakPtr> subMapType;
#endif
typedef boost::unordered_map <uint64, InfoSub::wptr> subMapType;
public:
NetworkOPs(boost::asio::io_service& io_service, LedgerMaster* pLedgerMaster);