summaryrefslogtreecommitdiff
path: root/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Custom_ClientEngine.h
blob: f3b9d19cb7e2ac0b05fdda120651c19f53b8e216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// This may look like C, but it's really -*- C++ -*-

//=============================================================================
/**
 *  @file    Foo_C_Custom_ClientEngine.h
 *
 *  @author  Tim Bradley <bradley_t@ociweb.com>
 */
//=============================================================================

#ifndef FOO_C_CUSTOM_CLIENT_ENGINE_H
#define FOO_C_CUSTOM_CLIENT_ENGINE_H

#include "CSD_TP_Foo_C_Export.h"
#include "ClientEngine.h"
#include "Foo_C_Custom_Proxy.h"


class CSD_TP_Foo_C_Export Foo_C_Custom_ClientEngine : public ClientEngine
{
  public:

    Foo_C_Custom_ClientEngine(Foo_C_i*               servant,
                              Foo_C_ptr              objref,
                              TAO::CSD::TP_Strategy* strategy,
                              unsigned               client_id);
    virtual ~Foo_C_Custom_ClientEngine();

    virtual bool execute(void);

    static void expected_results(Foo_C_Statistics& stats);


  private:

    Foo_C_Custom_Proxy proxy_;
    unsigned           client_id_;
};

#endif