/***************************************************************************
                Process Test Class
                -----------------------------------------
    begin      : 2013/06/21
	copyright  : (C) 2005 Solbox Inc.
    author     : Dev 1 Team
    email      : dev1@solbox.com
    version    : 3.2.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 __SERVICE_INFO_UPDATER_H__
#define __SERVICE_INFO_UPDATER_H__

#include "Process.h"
#include "SharedMemAPR.h"
#include "AccountUpdateThread.h"
#include "AnonyUpdateThread.h"
#include "FimngdData.h"

class  CWorkerServiceInfoUpdater : public CProcess
{
public:
	CWorkerServiceInfoUpdater();
	virtual ~CWorkerServiceInfoUpdater();

	pid_t Launcher(const sig_atomic_t *sighandle);

	CAccountUpdateThread m_objAccount;
	CAnonyUpdateThread m_objAnony;

private:
	void	do_work(const sig_atomic_t *sighandle);

	// 서비스 볼륨별 account 관리를 위한 shared memory 객체
	CSharedMem m_shmemAccount;

	// 무인증 폴더 관리를 위한 shared moemory 객체
	CSharedMem m_shmemAnoymous;
};
 
#endif // __SERVICE_INFO_UPDATER_H__
