// This may look like C, but it's really -*- C++ -*-

//=============================================================================
/**
 *  @file    Foo_B_ClientEngine.h
 *
 *  $Id: Foo_B_ClientEngine.h 76555 2007-01-24 15:39:09Z johnnyw $
 *
 *  @author  Tim Bradley <bradley_t@ociweb.com>
 */
//=============================================================================

#ifndef FOO_B_CLIENT_ENGINE_H
#define FOO_B_CLIENT_ENGINE_H

#include "CSD_TP_Foo_B_Export.h"
#include "ClientEngine.h"
#include "Foo_BC.h"

class Foo_B_Statistics;
class Callback_i;

class CSD_TP_Foo_B_Export Foo_B_ClientEngine : public ClientEngine
{
  public:

    Foo_B_ClientEngine(Foo_B_ptr obj,
                       Callback_ptr callback,
                       unsigned client_id = 0,
                       bool collocated = false);

    virtual ~Foo_B_ClientEngine();

    virtual bool execute(void);

    static void expected_results(Foo_B_Statistics& stats);
    static unsigned expected_callbacks ();

  private:

    Foo_B_var obj_;
    Callback_var callback_;
    unsigned client_id_;
    bool collocated_;
};

#endif
