00001 #ifndef SCTARCHIVING_TRANSFERCOMMAND_H 00002 #define SCTARCHIVING_TRANSFERCOMMAND_H 00003 #include "GetCommand.h" 00004 #include "PutCommand.h" 00005 00006 namespace SctArchiving{ 00014 class TransferCommand : public ArchivingCommand { 00015 public: 00017 TransferCommand(boost::shared_ptr<GetCommand> get, 00018 boost::shared_ptr<PutCommand> put); 00020 ~TransferCommand(); 00022 virtual void execute(); 00024 virtual boost::shared_ptr<ArchivingCommand> create() const; 00025 protected: 00027 shared_ptr<GetCommand> m_get; 00029 shared_ptr<PutCommand> m_put; 00030 TransferCommand(); 00031 }; 00032 } 00033 00034 #endif