summaryrefslogtreecommitdiff
path: root/TAO/examples/CSD_Strategy/ThreadPool/Foo_i.h
blob: b1f1585613b09a4ae2b77baaab9caf0c5a663cac (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
#ifndef FOO_I_H
#define FOO_I_H

#include "FooS.h"
#include "ace/CORBA_macros.h"
#include "tao/Environment.h"


class Foo_i : public virtual POA_Foo
{
  public:
    Foo_i(unsigned num_clients);
    virtual ~Foo_i();

    virtual void op1(void);

    virtual void op2(CORBA::Long value);

    virtual CORBA::Long op3(void);

    virtual void op4(CORBA::Long value);

    virtual void op5(void);

    virtual void done(void);


  private:
    CORBA::Long value_;
    unsigned num_clients_;

    unsigned count_op1_;
    unsigned count_op2_;
    unsigned count_op3_;
    unsigned count_op4_;
    unsigned count_op5_;
};

#endif