//
//
// Copyright (C) 2004 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// Copyright (C) 2004 Pingtel Corp.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// $$
//////////////////////////////////////////////////////////////////////////////
#ifndef KEEPALIVETASK_H
#define KEEPALIVETASK_H
// SYSTEM INCLUDES
//#include <...>
// APPLICATION INCLUDES
#include "os/OsDefs.h"
#include "IMDBWorkerTask.h"
// DEFINES
// MACROS
// EXTERNAL FUNCTIONS
// EXTERNAL VARIABLES
// CONSTANTS
// STRUCTS
// TYPEDEFS
// FORWARD DECLARATIONS
class OsEvent;
class KeepAliveTask : public IMDBWorkerTask
{
public:
/**
* Ctor
*
* @param rCommand
* @param rArgument
* @param rMsgQ
*/
KeepAliveTask (
const UtlString& rArgument,
OsMsgQ& rMsgQ,
OsEvent& rCommandEvent);
/**
* Dtor
*/
virtual ~KeepAliveTask();
/**
* The worker method, this is where all the command types execute, they
* run as separate threads
*
* @param runArg
*
* @return
*/
virtual int run( void* runArg );
private:
/** Adds a reference to each of the important IMDB tables */
OsStatus openIMDBTables() const;
};
#endif // KEEPALIVETASK_H
syntax highlighted by Code2HTML, v. 0.9.1