summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Transport_Current/TC_IIOP.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/Transport_Current/TC_IIOP.idl')
-rw-r--r--TAO/orbsvcs/Transport_Current/TC_IIOP.idl56
1 files changed, 56 insertions, 0 deletions
diff --git a/TAO/orbsvcs/Transport_Current/TC_IIOP.idl b/TAO/orbsvcs/Transport_Current/TC_IIOP.idl
index d167e2f5b80..2eac72f81b3 100644
--- a/TAO/orbsvcs/Transport_Current/TC_IIOP.idl
+++ b/TAO/orbsvcs/Transport_Current/TC_IIOP.idl
@@ -110,3 +110,59 @@ module TAO
};
#endif /* TAO_TRANSPORT_IIOP_CURRENT_IDL */
+/**
+ * @file TC_IIOP.idl
+ *
+ * @brief Defines the TAO::Transport::IIOP::Current interface
+ *
+ * $Id$
+ *
+ * @author Iliyan Jeliazkov <iliyan@ociweb.com>
+ */
+
+#ifndef TAO_TRANSPORT_IIOP_CURRENT_IDL
+#define TAO_TRANSPORT_IIOP_CURRENT_IDL
+
+#include "TC.idl"
+
+/// Provide a forward reference for the SSLIOP::Current
+module SSLIOP
+{
+ interface Current;
+};
+
+
+module TAO
+{
+ module Transport
+ {
+ module IIOP
+ {
+ // The primary interface, providing access to IIOP-specific
+ // transport information, if it is indeed an IIOP (-like) transport
+ // that has been selected.
+
+ local interface Current : TAO::Transport::Current
+ {
+ /// Remote host
+ readonly attribute string remote_host raises (NoContext);
+
+ /// Remote port Using long (signed) type to better accomodate
+ /// the Java mapping, which has no support for unsigned values
+ readonly attribute long remote_port raises (NoContext);
+
+ /// Local host
+ readonly attribute string local_host raises (NoContext);
+
+ /// Local port
+ readonly attribute long local_port raises (NoContext);
+
+ /// If this is a "secure" transport, this method will give you
+ /// the corresponding SSLIOP::Current
+ readonly attribute ::SSLIOP::Current ssliop_current raises (NoContext);
+ };
+ };
+ };
+};
+
+#endif /* TAO_TRANSPORT_IIOP_CURRENT_IDL */