/* */ #ifndef _D_PEER_RECEIVE_HANDSHAKE_COMMAND_H_ #define _D_PEER_RECEIVE_HANDSHAKE_COMMAND_H_ #include "PeerAbstractCommand.h" class PeerConnection; typedef SharedHandle PeerConnectionHandle; class PeerReceiveHandshakeCommand:public PeerAbstractCommand { private: PeerConnectionHandle _peerConnection; int32_t _lowestSpeedLimit; protected: virtual bool executeInternal(); /* virtual bool prepareForRetry(int32_t wait); virtual bool prepareForNextPeer(int32_t wait); */ virtual bool exitBeforeExecute(); public: PeerReceiveHandshakeCommand(int32_t cuid, const PeerHandle& peer, DownloadEngine* e, const SocketHandle& s); virtual ~PeerReceiveHandshakeCommand(); }; #endif // _D_PEER_RECEIVE_HANDSHAKE_COMMAND_H_