/***************************************************************************
                Process Dummy Class
                -----------------------------------------
    begin      : 2015/05/28
	copyright  : (C) 2005 Solbox Inc.
    author     : Dev 1 Team
    email      : storage.sd@solbox.com
    version    : 3.5.0

    CopyRight(C) 2005 Solbox Inc. All Rights reserved.
    Redistribution and use in source and binary forms, with or with out
    modification, are not permitted in outside of Solbox Inc.
*****************************************************************************/

#ifndef __TRANSFER_STAT_DATA_H__
#define __TRANSFER_STAT_DATA_H__


#include <string.h>
#include "Logger.h"
#include "FimngdData.h"

class  CTransferStatData
{
public:
	CTransferStatData();
	CTransferStatData(const CTransferStatData& other);
	virtual ~CTransferStatData();


	const CTransferStatData& operator=(const CTransferStatData& other);
	

	inline void* GetPtr()  { return &m_tsData; };
	inline static int GetSize() { return (int)sizeof( struct Transfer_stat ); };

	inline Transfer_stat GetData() const { return m_tsData; };

	inline unsigned int GetUserSeq() { return m_tsData.nUserSeq; };
	inline unsigned int GetServiceSeq() { return m_tsData.nServiceSeq; };
	inline std::string GetFilenameHash() { return std::string( m_tsData.filename_hash ); };
	// return value GET : 0 , PUT : non zero
	inline short int GetDirection() { return m_tsData.nInOut; };

	void SetTransferStatData( struct Transfer_stat tsData);

private:
	struct Transfer_stat m_tsData;
};
 
#endif // __TRANSFER_STAT_DATA_H__
