summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/DSI/Database.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/DSI/Database.idl')
-rw-r--r--TAO/examples/POA/DSI/Database.idl26
1 files changed, 12 insertions, 14 deletions
diff --git a/TAO/examples/POA/DSI/Database.idl b/TAO/examples/POA/DSI/Database.idl
index 3fd2aaf97df..ed1a44b971a 100644
--- a/TAO/examples/POA/DSI/Database.idl
+++ b/TAO/examples/POA/DSI/Database.idl
@@ -3,9 +3,9 @@
module Database
{
typedef unsigned long Flags;
-
+
typedef string Identifier;
-
+
exception Unknown_Type
{
string type;
@@ -26,23 +26,23 @@ module Database
string key;
};
- interface Entry
+ interface Entry
{
readonly attribute string name;
};
-
- interface Employee : Entry
+
+ interface Employee : Entry
{
attribute long id;
};
-
+
/*
- interface Machine : Entry
+ interface Machine : Entry
{
attribute string make;
};
*/
-
+
struct NamedValue
{
Identifier name;
@@ -51,25 +51,23 @@ module Database
};
typedef sequence<NamedValue> NVPairSequence;
-
- interface Agent
+
+ interface Agent
{
Entry create_entry (in string key,
in Identifier entry_type,
in NVPairSequence initial_attributes)
raises (Unknown_Type,
Duplicate_Key);
-
+
Entry find_entry (in string key,
in Identifier entry_type)
raises (Unknown_Type,
Not_Found);
-
+
void destroy_entry (in string key,
in Identifier entry_type)
raises (Unknown_Type,
Unknown_Key);
-
- void shutdown ();
};
};