summaryrefslogtreecommitdiff
path: root/TAO/tests/Exposed_Policies/Counter.idl
blob: 23f2ad366ec62584577465f7cda3c98aa52e5eb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// This interface abstracts a counter. It provides methods
/// for increasing and getting the value of the counter.
interface Counter
{
  /// Increases the counter value.
  void increment ();

  /// Decreases the counter value.
  long get_count ();

  /// Sets the counter value to zero.
  void reset ();

  /// Shuts down the ORB on which this obj is running.
  oneway void shutdown ();
};