aboutsummaryrefslogtreecommitdiffstats
path: root/lib/orber/COSS/CosNaming/cos_naming_ext.idl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/orber/COSS/CosNaming/cos_naming_ext.idl')
-rw-r--r--lib/orber/COSS/CosNaming/cos_naming_ext.idl37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/orber/COSS/CosNaming/cos_naming_ext.idl b/lib/orber/COSS/CosNaming/cos_naming_ext.idl
new file mode 100644
index 0000000000..8099a0005c
--- /dev/null
+++ b/lib/orber/COSS/CosNaming/cos_naming_ext.idl
@@ -0,0 +1,37 @@
+// Naming Service v1.0 described in CORBAservices:
+// Common Object Services Specification, chapter 3
+// OMG IDL for CosNaming Module, p 3-6
+
+#ifndef _COSNAMINGEXT_IDL_
+#define _COSNAMINGEXT_IDL_
+
+
+#include<cos_naming.idl>
+
+#pragma prefix "omg.org"
+
+module CosNaming
+{
+ interface NamingContextExt:NamingContext {
+
+ typedef string StringName;
+ typedef string Address;
+ typedef string URLString;
+
+ StringName to_string(in Name n)
+ raises(InvalidName);
+
+ Name to_name(in StringName sn)
+ raises(InvalidName);
+
+ exception InvalidAddress{};
+
+ URLString to_url(in Address addr,in StringName sn)
+ raises(InvalidAddress, InvalidName);
+
+ Object resolve_str(in StringName n)
+ raises(NotFound, CannotProceed, InvalidName);
+ };
+};
+
+#endif//_COSNAMINGEXT_IDL_