diff options
Diffstat (limited to 'TAO/tests/Exposed_Policies/Counter.idl')
-rw-r--r-- | TAO/tests/Exposed_Policies/Counter.idl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/TAO/tests/Exposed_Policies/Counter.idl b/TAO/tests/Exposed_Policies/Counter.idl new file mode 100644 index 00000000000..d8fa1959ce3 --- /dev/null +++ b/TAO/tests/Exposed_Policies/Counter.idl @@ -0,0 +1,18 @@ +//$Id$ + +/// 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 (); +}; |