/* */ #ifndef _D_DEFAULT_PEER_LIST_PROCESSOR_H_ #define _D_DEFAULT_PEER_LIST_PROCESSOR_H_ #include "PeerListProcessor.h" namespace aria2 { class DefaultPeerListProcessor : public PeerListProcessor { private: int32_t pieceLength; int64_t totalLength; public: DefaultPeerListProcessor(int32_t pieceLength, int64_t totalLength); virtual ~DefaultPeerListProcessor(); virtual std::deque > extractPeer(const MetaEntry* peersEntry); virtual bool canHandle(const MetaEntry* peersEntry) const; }; } // namespace aria2 #endif // _D_DEFAULT_PEER_LIST_PROCESSOR_H_