/* */ #ifndef _D_DEFAULT_PEER_LIST_PROCESSOR_H_ #define _D_DEFAULT_PEER_LIST_PROCESSOR_H_ #include "PeerListProcessor.h" class DefaultPeerListProcessor : public PeerListProcessor { private: int pieceLength; long long int totalLength; public: DefaultPeerListProcessor(int pieceLength, long long int totalLength) :pieceLength(pieceLength), totalLength(totalLength) {} virtual ~DefaultPeerListProcessor() {} virtual Peers extractPeer(const MetaEntry* peersEntry); virtual bool canHandle(const MetaEntry* peersEntry) const; }; #endif // _D_DEFAULT_PEER_LIST_PROCESSOR_H_