summaryrefslogtreecommitdiff
path: root/TAO/tests/LongUpcalls/Controller.h
blob: 3015093089904ab8360bd8db304f54543909c43f (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
#ifndef LONGUPCALLS_CONTROLLER_H
#define LONGUPCALLS_CONTROLLER_H

#include "TestS.h"

class Controller
  : public virtual POA_Test::Controller
{
public:
  Controller ();
  // Constructor

  void dump_results ();
  // Print out the results and any errors

  // = The skeleton methods
  virtual void worker_started ();
  virtual void worker_finished ();

private:
  TAO_SYNCH_MUTEX mutex_;
  CORBA::ULong start_count_;
  CORBA::ULong finish_count_;
};

#endif /* LONGUPCALLS_CONTROLLER_H */