summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-25 20:21:06 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-25 20:21:06 +0000
commita0a6b7a8d08a9cf68324fb72f3f6fd16586f9474 (patch)
tree16472d98482473b756f3ca20934fa6baa59c3aa3
parentdebe938a1644b74b3fc2db42706dfed08f2be952 (diff)
downloadATCD-a0a6b7a8d08a9cf68324fb72f3f6fd16586f9474.tar.gz
Added Interceptor*
-rw-r--r--TAO/tao/CORBA.pidl1
-rw-r--r--TAO/tao/InterceptorC.cpp769
-rw-r--r--TAO/tao/InterceptorC.h911
-rw-r--r--TAO/tao/InterceptorC.i1294
-rw-r--r--TAO/tao/InterceptorS.cpp656
-rw-r--r--TAO/tao/InterceptorS.h581
-rw-r--r--TAO/tao/TAO.dsp308
7 files changed, 4387 insertions, 133 deletions
diff --git a/TAO/tao/CORBA.pidl b/TAO/tao/CORBA.pidl
index 42992cec2b9..67fe538d5c9 100644
--- a/TAO/tao/CORBA.pidl
+++ b/TAO/tao/CORBA.pidl
@@ -25,6 +25,7 @@ module CORBA
SYSTEM_EXCEPTION
};
+ interface Object;
interface Request;
interface NVList;
diff --git a/TAO/tao/InterceptorC.cpp b/TAO/tao/InterceptorC.cpp
new file mode 100644
index 00000000000..444e3cbfee5
--- /dev/null
+++ b/TAO/tao/InterceptorC.cpp
@@ -0,0 +1,769 @@
+/* $Id$ -*- C++ -*- */
+
+// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
+// TAO and the TAO IDL Compiler have been developed by the Center for
+// Distributed Object Computing at Washington University, St. Louis.
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#include "corbafwd.h"
+#include "InterceptorC.h"
+#include "InterceptorS.cpp"
+
+#if !defined (__ACE_INLINE__)
+#include "InterceptorC.i"
+#endif /* !defined INLINE */
+
+PortableInterceptor::Cookie_ptr PortableInterceptor::Cookie::_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ if (CORBA::is_nil (obj))
+ return PortableInterceptor::Cookie::_nil ();
+ CORBA::Boolean is_a = obj->_is_a ("IDL:TAO/PortableInterceptor/Cookie:1.0", ACE_TRY_ENV);
+ ACE_CHECK_RETURN (PortableInterceptor::Cookie::_nil ());
+ if (is_a == 0)
+ return PortableInterceptor::Cookie::_nil ();
+ void *servant = 0;
+ if (!obj->_is_collocated ()
+ || !obj->_servant ()
+ || (servant = obj->_servant()->_downcast ("IDL:TAO/PortableInterceptor/Cookie:1.0")) == 0
+ )
+ ACE_THROW_RETURN (CORBA::MARSHAL (), PortableInterceptor::Cookie::_nil ());
+ return new POA_PortableInterceptor::_tao_direct_collocated_Cookie(
+ ACE_reinterpret_cast (POA_PortableInterceptor::Cookie_ptr, servant),
+ 0
+ );
+}
+
+CORBA::Boolean PortableInterceptor::Cookie::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV)
+{
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:TAO/PortableInterceptor/Cookie:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Object:1.0")))
+ return 1; // success using local knowledge
+ else
+ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV);
+}
+
+const char* PortableInterceptor::Cookie::_interface_repository_id (void) const
+{
+ return "IDL:TAO/PortableInterceptor/Cookie:1.0";
+}
+
+static const CORBA::Long _oc_PortableInterceptor_Cookie[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x54414f2f), ACE_NTOHL (0x506f7274), ACE_NTOHL (0x61626c65), ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72636570), ACE_NTOHL (0x746f722f), ACE_NTOHL (0x436f6f6b), ACE_NTOHL (0x69653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:TAO/PortableInterceptor/Cookie:1.0
+ 7, ACE_NTOHL (0x436f6f6b), ACE_NTOHL (0x69650000), // name = Cookie
+};
+static CORBA::TypeCode _tc_TAO_tc_PortableInterceptor_Cookie (CORBA::tk_objref, sizeof (_oc_PortableInterceptor_Cookie), (char *) &_oc_PortableInterceptor_Cookie, 0, sizeof (PortableInterceptor::Cookie));
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableInterceptor)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Cookie, &_tc_TAO_tc_PortableInterceptor_Cookie)
+TAO_NAMESPACE_END
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_OBJECT_SEQUENCE_PORTABLEINTERCEPTOR_COOKIES_CS_)
+#define __TAO_UNBOUNDED_OBJECT_SEQUENCE_PORTABLEINTERCEPTOR_COOKIES_CS_
+
+ // The Base_Sequence functions, please see tao/Sequence.h
+ void
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::_allocate_buffer (CORBA::ULong length)
+ {
+ PortableInterceptor::Cookie **tmp = 0;
+ tmp = PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::allocbuf (length);
+
+ if (this->buffer_ != 0)
+ {
+ PortableInterceptor::Cookie **old = ACE_reinterpret_cast (PortableInterceptor::Cookie**, this->buffer_);
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ if (!this->release_)
+ tmp[i] = PortableInterceptor::Cookie::_duplicate (old[i]);
+ else
+ tmp[i] = old[i];
+
+ if (this->release_)
+ delete[] old;
+
+ }
+ this->buffer_ = tmp;
+ }
+
+ void
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::_deallocate_buffer (void)
+ {
+ if (this->buffer_ == 0 || this->release_ == 0)
+ return;
+ PortableInterceptor::Cookie **tmp = ACE_reinterpret_cast (PortableInterceptor::Cookie**, this->buffer_);
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ {
+ CORBA::release (tmp[i]);
+ tmp[i] = PortableInterceptor::Cookie::_nil ();
+ }
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::freebuf (tmp);
+ this->buffer_ = 0;
+ }
+
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::~_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies (void)
+ {
+ this->_deallocate_buffer ();
+ }
+
+ void
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol)
+ {
+ PortableInterceptor::Cookie **tmp = ACE_reinterpret_cast (PortableInterceptor::Cookie**, this->buffer_);
+
+ for (CORBA::ULong i = nl; i < ol; ++i)
+ {
+ CORBA::release (tmp[i]);
+ tmp[i] = PortableInterceptor::Cookie::_nil ();
+ }
+ }
+ void
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::_downcast (
+ void* target,
+ CORBA_Object *src,
+ CORBA_Environment &ACE_TRY_ENV
+ )
+ {
+ PortableInterceptor::Cookie **tmp = ACE_static_cast (PortableInterceptor::Cookie**, target);
+ *tmp = PortableInterceptor::Cookie::_narrow (src, ACE_TRY_ENV);
+ }
+
+ CORBA_Object*
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::_upcast (void *src) const
+ {
+ PortableInterceptor::Cookie **tmp = ACE_static_cast (PortableInterceptor::Cookie**, src);
+ return *tmp;
+ }
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_PORTABLEINTERCEPTOR_COOKIES_CS_)
+#define _PORTABLEINTERCEPTOR_COOKIES_CS_
+
+// *************************************************************
+// PortableInterceptor::Cookies
+// *************************************************************
+
+PortableInterceptor::Cookies::Cookies (void)
+{}
+PortableInterceptor::Cookies::Cookies (CORBA::ULong max) // uses max size
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Object_Sequence<PortableInterceptor::Cookie,PortableInterceptor::Cookie_var>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (max)
+{}
+PortableInterceptor::Cookies::Cookies (CORBA::ULong max, CORBA::ULong length, PortableInterceptor::Cookie_ptr *buffer, CORBA::Boolean release)
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Object_Sequence<PortableInterceptor::Cookie,PortableInterceptor::Cookie_var>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (max, length, buffer, release)
+{}
+PortableInterceptor::Cookies::Cookies (const Cookies &seq) // copy ctor
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Object_Sequence<PortableInterceptor::Cookie,PortableInterceptor::Cookie_var>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (seq)
+{}
+PortableInterceptor::Cookies::~Cookies (void) // dtor
+{}
+
+
+#endif /* end #if !defined */
+
+static const CORBA::Long _oc_PortableInterceptor_Cookies[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 40, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x54414f2f), ACE_NTOHL (0x506f7274), ACE_NTOHL (0x61626c65), ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72636570), ACE_NTOHL (0x746f722f), ACE_NTOHL (0x436f6f6b), ACE_NTOHL (0x6965733a), ACE_NTOHL (0x312e3000), // repository ID = IDL:TAO/PortableInterceptor/Cookies:1.0
+ 8, ACE_NTOHL (0x436f6f6b), ACE_NTOHL (0x69657300), // name = Cookies
+ CORBA::tk_sequence, // typecode kind
+ 76, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_objref, // typecode kind
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x54414f2f), ACE_NTOHL (0x506f7274), ACE_NTOHL (0x61626c65), ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72636570), ACE_NTOHL (0x746f722f), ACE_NTOHL (0x436f6f6b), ACE_NTOHL (0x69653a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:TAO/PortableInterceptor/Cookie:1.0
+ 7, ACE_NTOHL (0x436f6f6b), ACE_NTOHL (0x69650000), // name = Cookie
+
+ 0U,
+
+};
+static CORBA::TypeCode _tc_TAO_tc_PortableInterceptor_Cookies (CORBA::tk_alias, sizeof (_oc_PortableInterceptor_Cookies), (char *) &_oc_PortableInterceptor_Cookies, 0, sizeof (PortableInterceptor::Cookies));
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableInterceptor)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Cookies, &_tc_TAO_tc_PortableInterceptor_Cookies)
+TAO_NAMESPACE_END
+PortableInterceptor::RequestInfo_ptr PortableInterceptor::RequestInfo::_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ if (CORBA::is_nil (obj))
+ return PortableInterceptor::RequestInfo::_nil ();
+ CORBA::Boolean is_a = obj->_is_a ("IDL:TAO/PortableInterceptor/RequestInfo:1.0", ACE_TRY_ENV);
+ ACE_CHECK_RETURN (PortableInterceptor::RequestInfo::_nil ());
+ if (is_a == 0)
+ return PortableInterceptor::RequestInfo::_nil ();
+ void *servant = 0;
+ if (!obj->_is_collocated ()
+ || !obj->_servant ()
+ || (servant = obj->_servant()->_downcast ("IDL:TAO/PortableInterceptor/RequestInfo:1.0")) == 0
+ )
+ ACE_THROW_RETURN (CORBA::MARSHAL (), PortableInterceptor::RequestInfo::_nil ());
+ return new POA_PortableInterceptor::_tao_direct_collocated_RequestInfo(
+ ACE_reinterpret_cast (POA_PortableInterceptor::RequestInfo_ptr, servant),
+ 0
+ );
+}
+
+CORBA::Boolean PortableInterceptor::RequestInfo::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV)
+{
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:TAO/PortableInterceptor/RequestInfo:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Object:1.0")))
+ return 1; // success using local knowledge
+ else
+ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV);
+}
+
+const char* PortableInterceptor::RequestInfo::_interface_repository_id (void) const
+{
+ return "IDL:TAO/PortableInterceptor/RequestInfo:1.0";
+}
+
+static const CORBA::Long _oc_PortableInterceptor_RequestInfo[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 44, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x54414f2f), ACE_NTOHL (0x506f7274), ACE_NTOHL (0x61626c65), ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72636570), ACE_NTOHL (0x746f722f), ACE_NTOHL (0x52657175), ACE_NTOHL (0x65737449), ACE_NTOHL (0x6e666f3a), ACE_NTOHL (0x312e3000), // repository ID = IDL:TAO/PortableInterceptor/RequestInfo:1.0
+ 12, ACE_NTOHL (0x52657175), ACE_NTOHL (0x65737449), ACE_NTOHL (0x6e666f00), // name = RequestInfo
+};
+static CORBA::TypeCode _tc_TAO_tc_PortableInterceptor_RequestInfo (CORBA::tk_objref, sizeof (_oc_PortableInterceptor_RequestInfo), (char *) &_oc_PortableInterceptor_RequestInfo, 0, sizeof (PortableInterceptor::RequestInfo));
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableInterceptor)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_RequestInfo, &_tc_TAO_tc_PortableInterceptor_RequestInfo)
+TAO_NAMESPACE_END
+PortableInterceptor::Interceptor_ptr PortableInterceptor::Interceptor::_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ if (CORBA::is_nil (obj))
+ return PortableInterceptor::Interceptor::_nil ();
+ CORBA::Boolean is_a = obj->_is_a ("IDL:TAO/PortableInterceptor/Interceptor:1.0", ACE_TRY_ENV);
+ ACE_CHECK_RETURN (PortableInterceptor::Interceptor::_nil ());
+ if (is_a == 0)
+ return PortableInterceptor::Interceptor::_nil ();
+ void *servant = 0;
+ if (!obj->_is_collocated ()
+ || !obj->_servant ()
+ || (servant = obj->_servant()->_downcast ("IDL:TAO/PortableInterceptor/Interceptor:1.0")) == 0
+ )
+ ACE_THROW_RETURN (CORBA::MARSHAL (), PortableInterceptor::Interceptor::_nil ());
+ return new POA_PortableInterceptor::_tao_direct_collocated_Interceptor(
+ ACE_reinterpret_cast (POA_PortableInterceptor::Interceptor_ptr, servant),
+ 0
+ );
+}
+
+CORBA::Boolean PortableInterceptor::Interceptor::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV)
+{
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:TAO/PortableInterceptor/Interceptor:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Object:1.0")))
+ return 1; // success using local knowledge
+ else
+ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV);
+}
+
+const char* PortableInterceptor::Interceptor::_interface_repository_id (void) const
+{
+ return "IDL:TAO/PortableInterceptor/Interceptor:1.0";
+}
+
+static const CORBA::Long _oc_PortableInterceptor_Interceptor[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 44, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x54414f2f), ACE_NTOHL (0x506f7274), ACE_NTOHL (0x61626c65), ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72636570), ACE_NTOHL (0x746f722f), ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72636570), ACE_NTOHL (0x746f723a), ACE_NTOHL (0x312e3000), // repository ID = IDL:TAO/PortableInterceptor/Interceptor:1.0
+ 12, ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72636570), ACE_NTOHL (0x746f7200), // name = Interceptor
+};
+static CORBA::TypeCode _tc_TAO_tc_PortableInterceptor_Interceptor (CORBA::tk_objref, sizeof (_oc_PortableInterceptor_Interceptor), (char *) &_oc_PortableInterceptor_Interceptor, 0, sizeof (PortableInterceptor::Interceptor));
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableInterceptor)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Interceptor, &_tc_TAO_tc_PortableInterceptor_Interceptor)
+TAO_NAMESPACE_END
+PortableInterceptor::ServerRequestInterceptor_ptr PortableInterceptor::ServerRequestInterceptor::_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ if (CORBA::is_nil (obj))
+ return PortableInterceptor::ServerRequestInterceptor::_nil ();
+ CORBA::Boolean is_a = obj->_is_a ("IDL:TAO/PortableInterceptor/ServerRequestInterceptor:1.0", ACE_TRY_ENV);
+ ACE_CHECK_RETURN (PortableInterceptor::ServerRequestInterceptor::_nil ());
+ if (is_a == 0)
+ return PortableInterceptor::ServerRequestInterceptor::_nil ();
+ void *servant = 0;
+ if (!obj->_is_collocated ()
+ || !obj->_servant ()
+ || (servant = obj->_servant()->_downcast ("IDL:TAO/PortableInterceptor/ServerRequestInterceptor:1.0")) == 0
+ )
+ ACE_THROW_RETURN (CORBA::MARSHAL (), PortableInterceptor::ServerRequestInterceptor::_nil ());
+ return new POA_PortableInterceptor::_tao_direct_collocated_ServerRequestInterceptor(
+ ACE_reinterpret_cast (POA_PortableInterceptor::ServerRequestInterceptor_ptr, servant),
+ 0
+ );
+}
+
+CORBA::Boolean PortableInterceptor::ServerRequestInterceptor::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV)
+{
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:TAO/PortableInterceptor/ServerRequestInterceptor:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:TAO/PortableInterceptor/Interceptor:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Object:1.0")))
+ return 1; // success using local knowledge
+ else
+ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV);
+}
+
+const char* PortableInterceptor::ServerRequestInterceptor::_interface_repository_id (void) const
+{
+ return "IDL:TAO/PortableInterceptor/ServerRequestInterceptor:1.0";
+}
+
+static const CORBA::Long _oc_PortableInterceptor_ServerRequestInterceptor[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 57, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x54414f2f), ACE_NTOHL (0x506f7274), ACE_NTOHL (0x61626c65), ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72636570), ACE_NTOHL (0x746f722f), ACE_NTOHL (0x53657276), ACE_NTOHL (0x65725265), ACE_NTOHL (0x71756573), ACE_NTOHL (0x74496e74), ACE_NTOHL (0x65726365), ACE_NTOHL (0x70746f72), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:TAO/PortableInterceptor/ServerRequestInterceptor:1.0
+ 25, ACE_NTOHL (0x53657276), ACE_NTOHL (0x65725265), ACE_NTOHL (0x71756573), ACE_NTOHL (0x74496e74), ACE_NTOHL (0x65726365), ACE_NTOHL (0x70746f72), ACE_NTOHL (0x0), // name = ServerRequestInterceptor
+};
+static CORBA::TypeCode _tc_TAO_tc_PortableInterceptor_ServerRequestInterceptor (CORBA::tk_objref, sizeof (_oc_PortableInterceptor_ServerRequestInterceptor), (char *) &_oc_PortableInterceptor_ServerRequestInterceptor, 0, sizeof (PortableInterceptor::ServerRequestInterceptor));
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableInterceptor)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ServerRequestInterceptor, &_tc_TAO_tc_PortableInterceptor_ServerRequestInterceptor)
+TAO_NAMESPACE_END
+PortableInterceptor::ClientRequestInterceptor_ptr PortableInterceptor::ClientRequestInterceptor::_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ if (CORBA::is_nil (obj))
+ return PortableInterceptor::ClientRequestInterceptor::_nil ();
+ CORBA::Boolean is_a = obj->_is_a ("IDL:TAO/PortableInterceptor/ClientRequestInterceptor:1.0", ACE_TRY_ENV);
+ ACE_CHECK_RETURN (PortableInterceptor::ClientRequestInterceptor::_nil ());
+ if (is_a == 0)
+ return PortableInterceptor::ClientRequestInterceptor::_nil ();
+ void *servant = 0;
+ if (!obj->_is_collocated ()
+ || !obj->_servant ()
+ || (servant = obj->_servant()->_downcast ("IDL:TAO/PortableInterceptor/ClientRequestInterceptor:1.0")) == 0
+ )
+ ACE_THROW_RETURN (CORBA::MARSHAL (), PortableInterceptor::ClientRequestInterceptor::_nil ());
+ return new POA_PortableInterceptor::_tao_direct_collocated_ClientRequestInterceptor(
+ ACE_reinterpret_cast (POA_PortableInterceptor::ClientRequestInterceptor_ptr, servant),
+ 0
+ );
+}
+
+CORBA::Boolean PortableInterceptor::ClientRequestInterceptor::_is_a (const CORBA::Char *value, CORBA::Environment &ACE_TRY_ENV)
+{
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:TAO/PortableInterceptor/ClientRequestInterceptor:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:TAO/PortableInterceptor/Interceptor:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Object:1.0")))
+ return 1; // success using local knowledge
+ else
+ return this->CORBA_Object::_is_a (value, ACE_TRY_ENV);
+}
+
+const char* PortableInterceptor::ClientRequestInterceptor::_interface_repository_id (void) const
+{
+ return "IDL:TAO/PortableInterceptor/ClientRequestInterceptor:1.0";
+}
+
+static const CORBA::Long _oc_PortableInterceptor_ClientRequestInterceptor[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 57, ACE_NTOHL (0x49444c3a), ACE_NTOHL (0x54414f2f), ACE_NTOHL (0x506f7274), ACE_NTOHL (0x61626c65), ACE_NTOHL (0x496e7465), ACE_NTOHL (0x72636570), ACE_NTOHL (0x746f722f), ACE_NTOHL (0x436c6965), ACE_NTOHL (0x6e745265), ACE_NTOHL (0x71756573), ACE_NTOHL (0x74496e74), ACE_NTOHL (0x65726365), ACE_NTOHL (0x70746f72), ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:TAO/PortableInterceptor/ClientRequestInterceptor:1.0
+ 25, ACE_NTOHL (0x436c6965), ACE_NTOHL (0x6e745265), ACE_NTOHL (0x71756573), ACE_NTOHL (0x74496e74), ACE_NTOHL (0x65726365), ACE_NTOHL (0x70746f72), ACE_NTOHL (0x0), // name = ClientRequestInterceptor
+};
+static CORBA::TypeCode _tc_TAO_tc_PortableInterceptor_ClientRequestInterceptor (CORBA::tk_objref, sizeof (_oc_PortableInterceptor_ClientRequestInterceptor), (char *) &_oc_PortableInterceptor_ClientRequestInterceptor, 0, sizeof (PortableInterceptor::ClientRequestInterceptor));
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableInterceptor)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ClientRequestInterceptor, &_tc_TAO_tc_PortableInterceptor_ClientRequestInterceptor)
+TAO_NAMESPACE_END
+void operator<<= (CORBA::Any &_tao_any, PortableInterceptor::Cookie_ptr _tao_elem)
+{
+ CORBA::Object_ptr *_tao_obj_ptr = 0;
+ ACE_TRY_NEW_ENV
+ {
+ ACE_NEW (_tao_obj_ptr, CORBA::Object_ptr);
+ *_tao_obj_ptr = PortableInterceptor::Cookie::_duplicate (_tao_elem);
+ _tao_any.replace (PortableInterceptor::_tc_Cookie, _tao_obj_ptr, 1, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ delete _tao_obj_ptr;
+ }
+ ACE_ENDTRY;
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableInterceptor::Cookie_ptr &_tao_elem)
+{
+ CORBA::Object_ptr *tmp = 0;
+ ACE_TRY_NEW_ENV
+ {
+ _tao_elem = PortableInterceptor::Cookie::_nil ();
+ CORBA::TypeCode_var type = _tao_any.type ();
+ if (!type->equal (PortableInterceptor::_tc_Cookie, ACE_TRY_ENV)) return 0; // not equal
+ ACE_TRY_CHECK;
+ TAO_InputCDR stream (_tao_any._tao_get_cdr ());
+ CORBA::Object_var _tao_obj_var;
+ ACE_NEW_RETURN (tmp, CORBA::Object_ptr, 0);
+ if (stream.decode (PortableInterceptor::_tc_Cookie, &_tao_obj_var.out (), 0, ACE_TRY_ENV)
+ == CORBA::TypeCode::TRAVERSE_CONTINUE)
+ {
+ _tao_elem = PortableInterceptor::Cookie::_narrow (_tao_obj_var.in (), ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ *tmp = (CORBA::Object_ptr) _tao_elem; // any owns the object
+ ((CORBA::Any *)&_tao_any)->replace (PortableInterceptor::_tc_Cookie, tmp, 1, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ return 1;
+ }
+ // failure
+ }
+ ACE_CATCHANY
+ {
+ delete tmp;
+ return 0;
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+ template class TAO_Object_Field_T<PortableInterceptor::Cookie,PortableInterceptor::Cookie_var>;
+template class TAO_Object_Manager<PortableInterceptor::Cookie,PortableInterceptor::Cookie_var>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate TAO_Object_Field_T<PortableInterceptor::Cookie,PortableInterceptor::Cookie_var>
+# pragma instantiate TAO_Object_Manager<PortableInterceptor::Cookie,PortableInterceptor::Cookie_var>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+void operator<<= (
+ CORBA::Any &_tao_any,
+ const PortableInterceptor::Cookies &_tao_elem
+ ) // copying
+{
+ PortableInterceptor::Cookies *_tao_any_val;
+ ACE_NEW (_tao_any_val, PortableInterceptor::Cookies (_tao_elem));
+ if (!_tao_any_val) return;
+ ACE_TRY_NEW_ENV
+ {
+ _tao_any.replace (PortableInterceptor::_tc_Cookies, _tao_any_val, 1, ACE_TRY_ENV); // copy the value
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ delete _tao_any_val;
+ }
+ ACE_ENDTRY;
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableInterceptor::Cookies *_tao_elem) // non copying
+{
+ ACE_TRY_NEW_ENV
+ {
+ _tao_any.replace (PortableInterceptor::_tc_Cookies, _tao_elem, 0, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY {}
+ ACE_ENDTRY;
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableInterceptor::Cookies *&_tao_elem)
+{
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+ if (!type->equal (PortableInterceptor::_tc_Cookies, ACE_TRY_ENV)) return 0; // not equal
+ ACE_TRY_CHECK;
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableInterceptor::Cookies *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ ACE_NEW_RETURN (_tao_elem, PortableInterceptor::Cookies, 0);
+ TAO_InputCDR stream (_tao_any._tao_get_cdr ());
+ if (stream.decode (PortableInterceptor::_tc_Cookies, _tao_elem, 0, ACE_TRY_ENV)
+ == CORBA::TypeCode::TRAVERSE_CONTINUE)
+ {
+ ((CORBA::Any *)&_tao_any)->replace (PortableInterceptor::_tc_Cookies, _tao_elem, 1, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ return 1;
+ }
+ else
+ {
+ delete _tao_elem;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ delete _tao_elem;
+ return 0;
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableInterceptor::RequestInfo_ptr _tao_elem)
+{
+ CORBA::Object_ptr *_tao_obj_ptr = 0;
+ ACE_TRY_NEW_ENV
+ {
+ ACE_NEW (_tao_obj_ptr, CORBA::Object_ptr);
+ *_tao_obj_ptr = PortableInterceptor::RequestInfo::_duplicate (_tao_elem);
+ _tao_any.replace (PortableInterceptor::_tc_RequestInfo, _tao_obj_ptr, 1, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ delete _tao_obj_ptr;
+ }
+ ACE_ENDTRY;
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableInterceptor::RequestInfo_ptr &_tao_elem)
+{
+ CORBA::Object_ptr *tmp = 0;
+ ACE_TRY_NEW_ENV
+ {
+ _tao_elem = PortableInterceptor::RequestInfo::_nil ();
+ CORBA::TypeCode_var type = _tao_any.type ();
+ if (!type->equal (PortableInterceptor::_tc_RequestInfo, ACE_TRY_ENV)) return 0; // not equal
+ ACE_TRY_CHECK;
+ TAO_InputCDR stream (_tao_any._tao_get_cdr ());
+ CORBA::Object_var _tao_obj_var;
+ ACE_NEW_RETURN (tmp, CORBA::Object_ptr, 0);
+ if (stream.decode (PortableInterceptor::_tc_RequestInfo, &_tao_obj_var.out (), 0, ACE_TRY_ENV)
+ == CORBA::TypeCode::TRAVERSE_CONTINUE)
+ {
+ _tao_elem = PortableInterceptor::RequestInfo::_narrow (_tao_obj_var.in (), ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ *tmp = (CORBA::Object_ptr) _tao_elem; // any owns the object
+ ((CORBA::Any *)&_tao_any)->replace (PortableInterceptor::_tc_RequestInfo, tmp, 1, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ return 1;
+ }
+ // failure
+ }
+ ACE_CATCHANY
+ {
+ delete tmp;
+ return 0;
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+ template class TAO_Object_Field_T<PortableInterceptor::RequestInfo,PortableInterceptor::RequestInfo_var>;
+template class TAO_Object_Manager<PortableInterceptor::RequestInfo,PortableInterceptor::RequestInfo_var>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate TAO_Object_Field_T<PortableInterceptor::RequestInfo,PortableInterceptor::RequestInfo_var>
+# pragma instantiate TAO_Object_Manager<PortableInterceptor::RequestInfo,PortableInterceptor::RequestInfo_var>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+void operator<<= (CORBA::Any &_tao_any, PortableInterceptor::Interceptor_ptr _tao_elem)
+{
+ CORBA::Object_ptr *_tao_obj_ptr = 0;
+ ACE_TRY_NEW_ENV
+ {
+ ACE_NEW (_tao_obj_ptr, CORBA::Object_ptr);
+ *_tao_obj_ptr = PortableInterceptor::Interceptor::_duplicate (_tao_elem);
+ _tao_any.replace (PortableInterceptor::_tc_Interceptor, _tao_obj_ptr, 1, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ delete _tao_obj_ptr;
+ }
+ ACE_ENDTRY;
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableInterceptor::Interceptor_ptr &_tao_elem)
+{
+ CORBA::Object_ptr *tmp = 0;
+ ACE_TRY_NEW_ENV
+ {
+ _tao_elem = PortableInterceptor::Interceptor::_nil ();
+ CORBA::TypeCode_var type = _tao_any.type ();
+ if (!type->equal (PortableInterceptor::_tc_Interceptor, ACE_TRY_ENV)) return 0; // not equal
+ ACE_TRY_CHECK;
+ TAO_InputCDR stream (_tao_any._tao_get_cdr ());
+ CORBA::Object_var _tao_obj_var;
+ ACE_NEW_RETURN (tmp, CORBA::Object_ptr, 0);
+ if (stream.decode (PortableInterceptor::_tc_Interceptor, &_tao_obj_var.out (), 0, ACE_TRY_ENV)
+ == CORBA::TypeCode::TRAVERSE_CONTINUE)
+ {
+ _tao_elem = PortableInterceptor::Interceptor::_narrow (_tao_obj_var.in (), ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ *tmp = (CORBA::Object_ptr) _tao_elem; // any owns the object
+ ((CORBA::Any *)&_tao_any)->replace (PortableInterceptor::_tc_Interceptor, tmp, 1, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ return 1;
+ }
+ // failure
+ }
+ ACE_CATCHANY
+ {
+ delete tmp;
+ return 0;
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+ template class TAO_Object_Field_T<PortableInterceptor::Interceptor,PortableInterceptor::Interceptor_var>;
+template class TAO_Object_Manager<PortableInterceptor::Interceptor,PortableInterceptor::Interceptor_var>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate TAO_Object_Field_T<PortableInterceptor::Interceptor,PortableInterceptor::Interceptor_var>
+# pragma instantiate TAO_Object_Manager<PortableInterceptor::Interceptor,PortableInterceptor::Interceptor_var>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+void operator<<= (CORBA::Any &_tao_any, PortableInterceptor::ServerRequestInterceptor_ptr _tao_elem)
+{
+ CORBA::Object_ptr *_tao_obj_ptr = 0;
+ ACE_TRY_NEW_ENV
+ {
+ ACE_NEW (_tao_obj_ptr, CORBA::Object_ptr);
+ *_tao_obj_ptr = PortableInterceptor::ServerRequestInterceptor::_duplicate (_tao_elem);
+ _tao_any.replace (PortableInterceptor::_tc_ServerRequestInterceptor, _tao_obj_ptr, 1, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ delete _tao_obj_ptr;
+ }
+ ACE_ENDTRY;
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableInterceptor::ServerRequestInterceptor_ptr &_tao_elem)
+{
+ CORBA::Object_ptr *tmp = 0;
+ ACE_TRY_NEW_ENV
+ {
+ _tao_elem = PortableInterceptor::ServerRequestInterceptor::_nil ();
+ CORBA::TypeCode_var type = _tao_any.type ();
+ if (!type->equal (PortableInterceptor::_tc_ServerRequestInterceptor, ACE_TRY_ENV)) return 0; // not equal
+ ACE_TRY_CHECK;
+ TAO_InputCDR stream (_tao_any._tao_get_cdr ());
+ CORBA::Object_var _tao_obj_var;
+ ACE_NEW_RETURN (tmp, CORBA::Object_ptr, 0);
+ if (stream.decode (PortableInterceptor::_tc_ServerRequestInterceptor, &_tao_obj_var.out (), 0, ACE_TRY_ENV)
+ == CORBA::TypeCode::TRAVERSE_CONTINUE)
+ {
+ _tao_elem = PortableInterceptor::ServerRequestInterceptor::_narrow (_tao_obj_var.in (), ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ *tmp = (CORBA::Object_ptr) _tao_elem; // any owns the object
+ ((CORBA::Any *)&_tao_any)->replace (PortableInterceptor::_tc_ServerRequestInterceptor, tmp, 1, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ return 1;
+ }
+ // failure
+ }
+ ACE_CATCHANY
+ {
+ delete tmp;
+ return 0;
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+ template class TAO_Object_Field_T<PortableInterceptor::ServerRequestInterceptor,PortableInterceptor::ServerRequestInterceptor_var>;
+template class TAO_Object_Manager<PortableInterceptor::ServerRequestInterceptor,PortableInterceptor::ServerRequestInterceptor_var>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate TAO_Object_Field_T<PortableInterceptor::ServerRequestInterceptor,PortableInterceptor::ServerRequestInterceptor_var>
+# pragma instantiate TAO_Object_Manager<PortableInterceptor::ServerRequestInterceptor,PortableInterceptor::ServerRequestInterceptor_var>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+void operator<<= (CORBA::Any &_tao_any, PortableInterceptor::ClientRequestInterceptor_ptr _tao_elem)
+{
+ CORBA::Object_ptr *_tao_obj_ptr = 0;
+ ACE_TRY_NEW_ENV
+ {
+ ACE_NEW (_tao_obj_ptr, CORBA::Object_ptr);
+ *_tao_obj_ptr = PortableInterceptor::ClientRequestInterceptor::_duplicate (_tao_elem);
+ _tao_any.replace (PortableInterceptor::_tc_ClientRequestInterceptor, _tao_obj_ptr, 1, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ delete _tao_obj_ptr;
+ }
+ ACE_ENDTRY;
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableInterceptor::ClientRequestInterceptor_ptr &_tao_elem)
+{
+ CORBA::Object_ptr *tmp = 0;
+ ACE_TRY_NEW_ENV
+ {
+ _tao_elem = PortableInterceptor::ClientRequestInterceptor::_nil ();
+ CORBA::TypeCode_var type = _tao_any.type ();
+ if (!type->equal (PortableInterceptor::_tc_ClientRequestInterceptor, ACE_TRY_ENV)) return 0; // not equal
+ ACE_TRY_CHECK;
+ TAO_InputCDR stream (_tao_any._tao_get_cdr ());
+ CORBA::Object_var _tao_obj_var;
+ ACE_NEW_RETURN (tmp, CORBA::Object_ptr, 0);
+ if (stream.decode (PortableInterceptor::_tc_ClientRequestInterceptor, &_tao_obj_var.out (), 0, ACE_TRY_ENV)
+ == CORBA::TypeCode::TRAVERSE_CONTINUE)
+ {
+ _tao_elem = PortableInterceptor::ClientRequestInterceptor::_narrow (_tao_obj_var.in (), ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ *tmp = (CORBA::Object_ptr) _tao_elem; // any owns the object
+ ((CORBA::Any *)&_tao_any)->replace (PortableInterceptor::_tc_ClientRequestInterceptor, tmp, 1, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ return 1;
+ }
+ // failure
+ }
+ ACE_CATCHANY
+ {
+ delete tmp;
+ return 0;
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+ template class TAO_Object_Field_T<PortableInterceptor::ClientRequestInterceptor,PortableInterceptor::ClientRequestInterceptor_var>;
+template class TAO_Object_Manager<PortableInterceptor::ClientRequestInterceptor,PortableInterceptor::ClientRequestInterceptor_var>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate TAO_Object_Field_T<PortableInterceptor::ClientRequestInterceptor,PortableInterceptor::ClientRequestInterceptor_var>
+# pragma instantiate TAO_Object_Manager<PortableInterceptor::ClientRequestInterceptor,PortableInterceptor::ClientRequestInterceptor_var>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/TAO/tao/InterceptorC.h b/TAO/tao/InterceptorC.h
new file mode 100644
index 00000000000..7eb7a494765
--- /dev/null
+++ b/TAO/tao/InterceptorC.h
@@ -0,0 +1,911 @@
+/* $Id$ -*- C++ -*- */
+
+// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
+// TAO and the TAO IDL Compiler have been developed by the Center for
+// Distributed Object Computing at Washington University, St. Louis.
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef _TAO_IDL_INTERCEPTORC_H_
+#define _TAO_IDL_INTERCEPTORC_H_
+
+#include "corba.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#if defined (TAO_EXPORT_MACRO)
+#undef TAO_EXPORT_MACRO
+#endif
+#define TAO_EXPORT_MACRO TAO_Export
+#if defined (TAO_EXPORT_NESTED_CLASSES)
+# if defined (TAO_EXPORT_NESTED_MACRO)
+# undef TAO_EXPORT_NESTED_MACRO
+# endif /* defined (TAO_EXPORT_NESTED_MACRO) */
+# define TAO_EXPORT_NESTED_MACRO TAO_Export
+#endif /* TAO_EXPORT_NESTED_CLASSES */
+#if defined(_MSC_VER)
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+TAO_NAMESPACE PortableInterceptor
+{
+
+#if !defined (_PORTABLEINTERCEPTOR_COOKIE___PTR_CH_)
+#define _PORTABLEINTERCEPTOR_COOKIE___PTR_CH_
+
+ class Cookie;
+ typedef Cookie *Cookie_ptr;
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_COOKIE___VAR_CH_)
+#define _PORTABLEINTERCEPTOR_COOKIE___VAR_CH_
+
+ class TAO_Export Cookie_var
+ {
+ public:
+ Cookie_var (void); // default constructor
+ Cookie_var (Cookie_ptr);
+ Cookie_var (const Cookie_var &); // copy constructor
+ ~Cookie_var (void); // destructor
+
+ Cookie_var &operator= (Cookie_ptr);
+ Cookie_var &operator= (const Cookie_var &);
+ Cookie_ptr operator-> (void) const;
+
+ operator const Cookie_ptr &() const;
+ operator Cookie_ptr &();
+ // in, inout, out, _retn
+ Cookie_ptr in (void) const;
+ Cookie_ptr &inout (void);
+ Cookie_ptr &out (void);
+ Cookie_ptr _retn (void);
+ Cookie_ptr ptr (void) const;
+
+ private:
+ Cookie_ptr ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_COOKIE___OUT_CH_)
+#define _PORTABLEINTERCEPTOR_COOKIE___OUT_CH_
+
+ class TAO_Export Cookie_out
+ {
+ public:
+ Cookie_out (Cookie_ptr &);
+ Cookie_out (Cookie_var &);
+ Cookie_out (const Cookie_out &);
+ Cookie_out &operator= (const Cookie_out &);
+ Cookie_out &operator= (const Cookie_var &);
+ Cookie_out &operator= (Cookie_ptr);
+ operator Cookie_ptr &();
+ Cookie_ptr &ptr (void);
+ Cookie_ptr operator-> (void);
+
+ private:
+ Cookie_ptr &ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_COOKIE_CH_)
+#define _PORTABLEINTERCEPTOR_COOKIE_CH_
+
+class TAO_Export Cookie : public virtual ACE_CORBA_1 (Object)
+ {
+ public:
+ #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef Cookie_ptr _ptr_type;
+ typedef Cookie_var _var_type;
+ #endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ // the static operations
+ static Cookie_ptr _duplicate (Cookie_ptr obj);
+ static Cookie_ptr _narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &env =
+ TAO_default_environment ()
+ );
+ static Cookie_ptr _nil (void)
+ {
+ return (PortableInterceptor::Cookie_ptr)0;
+ }
+
+ virtual char * myname (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::Boolean _is_a (
+ const CORBA::Char *type_id,
+ CORBA::Environment &env =
+ TAO_default_environment ()
+ );
+ virtual const char* _interface_repository_id (void) const;
+
+ protected:
+ Cookie (void);
+ Cookie (TAO_Stub *objref,
+ TAO_ServantBase *_tao_servant = 0,
+ CORBA::Boolean _tao_collocated = 0
+ );
+ virtual ~Cookie (void);
+ private:
+ Cookie (const Cookie &);
+ void operator= (const Cookie &);
+ };
+
+
+#endif /* end #if !defined */
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Cookie;
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_OBJECT_SEQUENCE_PORTABLEINTERCEPTOR_COOKIES_CH_)
+#define __TAO_UNBOUNDED_OBJECT_SEQUENCE_PORTABLEINTERCEPTOR_COOKIES_CH_
+
+ class _TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies : public TAO_Unbounded_Base_Sequence
+ {
+ public:
+ // = Initialization and termination methods.
+
+ _TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies (void);
+ _TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies (CORBA::ULong maximum);
+ _TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies (CORBA::ULong maximum,
+ CORBA::ULong length,
+ Cookie* *value,
+ CORBA::Boolean release = 0);
+ _TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies(const _TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies &rhs);
+ virtual ~_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies (void);
+ _TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies &operator= (const _TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies &rhs);
+ TAO_Object_Manager<PortableInterceptor::Cookie,PortableInterceptor::Cookie_var> operator[] (CORBA::ULong index) const;
+ static Cookie **allocbuf (CORBA::ULong nelems);
+ static void freebuf (Cookie **buffer);
+ // The Base_Sequence functions, please see tao/Sequence.h
+ virtual void _allocate_buffer (CORBA::ULong length);
+ virtual void _deallocate_buffer (void);
+ Cookie* *get_buffer (CORBA::Boolean orphan = 0);
+ const Cookie* *get_buffer (void) const;
+ virtual void _shrink_buffer (CORBA::ULong nl, CORBA::ULong ol);
+ virtual void _downcast (
+ void* target,
+ CORBA_Object *src,
+ CORBA_Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ virtual CORBA_Object* _upcast (void *src) const;
+
+ };
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_PORTABLEINTERCEPTOR_COOKIES_CH_)
+#define _PORTABLEINTERCEPTOR_COOKIES_CH_
+
+ // *************************************************************
+ // Cookies
+ // *************************************************************
+
+ class TAO_Export Cookies : public
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Object_Sequence<Cookie,Cookie_var>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ {
+ public:
+ Cookies (void); // default ctor
+ Cookies (CORBA::ULong max); // uses max size
+ Cookies (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ Cookie_ptr *buffer,
+ CORBA::Boolean release=0
+ );
+ Cookies (const Cookies &); // copy ctor
+ ~Cookies (void); // dtor
+ };
+ typedef Cookies *Cookies_ptr;
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_COOKIES___VAR_CH_)
+#define _PORTABLEINTERCEPTOR_COOKIES___VAR_CH_
+
+// *************************************************************
+ // class PortableInterceptor::Cookies_var
+ // *************************************************************
+
+ class TAO_Export Cookies_var
+ {
+ public:
+ Cookies_var (void); // default constructor
+ Cookies_var (Cookies *);
+ Cookies_var (const Cookies_var &); // copy constructor
+ ~Cookies_var (void); // destructor
+
+ Cookies_var &operator= (Cookies *);
+ Cookies_var &operator= (const Cookies_var &);
+ Cookies *operator-> (void);
+ const Cookies *operator-> (void) const;
+
+ operator const Cookies &() const;
+ operator Cookies &();
+ operator Cookies &() const;
+ TAO_Object_Manager<Cookie,Cookie_var> operator[] (CORBA::ULong index);
+ // in, inout, out, _retn
+ const Cookies &in (void) const;
+ Cookies &inout (void);
+ Cookies *&out (void);
+ Cookies *_retn (void);
+ Cookies *ptr (void) const;
+
+ private:
+ Cookies *ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_COOKIES___OUT_CH_)
+#define _PORTABLEINTERCEPTOR_COOKIES___OUT_CH_
+
+ class TAO_Export Cookies_out
+ {
+ public:
+ Cookies_out (Cookies *&);
+ Cookies_out (Cookies_var &);
+ Cookies_out (const Cookies_out &);
+ Cookies_out &operator= (const Cookies_out &);
+ Cookies_out &operator= (Cookies *);
+ operator Cookies *&();
+ Cookies *&ptr (void);
+ Cookies *operator-> (void);
+ TAO_Object_Manager<Cookie,Cookie_var> operator[] (CORBA::ULong index);
+
+ private:
+ Cookies *&ptr_;
+ // assignment from T_var not allowed
+ void operator= (const Cookies_var &);
+ };
+
+
+#endif /* end #if !defined */
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Cookies;
+
+
+#if !defined (_PORTABLEINTERCEPTOR_REQUESTINFO___PTR_CH_)
+#define _PORTABLEINTERCEPTOR_REQUESTINFO___PTR_CH_
+
+ class RequestInfo;
+ typedef RequestInfo *RequestInfo_ptr;
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_REQUESTINFO___VAR_CH_)
+#define _PORTABLEINTERCEPTOR_REQUESTINFO___VAR_CH_
+
+ class TAO_Export RequestInfo_var
+ {
+ public:
+ RequestInfo_var (void); // default constructor
+ RequestInfo_var (RequestInfo_ptr);
+ RequestInfo_var (const RequestInfo_var &); // copy constructor
+ ~RequestInfo_var (void); // destructor
+
+ RequestInfo_var &operator= (RequestInfo_ptr);
+ RequestInfo_var &operator= (const RequestInfo_var &);
+ RequestInfo_ptr operator-> (void) const;
+
+ operator const RequestInfo_ptr &() const;
+ operator RequestInfo_ptr &();
+ // in, inout, out, _retn
+ RequestInfo_ptr in (void) const;
+ RequestInfo_ptr &inout (void);
+ RequestInfo_ptr &out (void);
+ RequestInfo_ptr _retn (void);
+ RequestInfo_ptr ptr (void) const;
+
+ private:
+ RequestInfo_ptr ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_REQUESTINFO___OUT_CH_)
+#define _PORTABLEINTERCEPTOR_REQUESTINFO___OUT_CH_
+
+ class TAO_Export RequestInfo_out
+ {
+ public:
+ RequestInfo_out (RequestInfo_ptr &);
+ RequestInfo_out (RequestInfo_var &);
+ RequestInfo_out (const RequestInfo_out &);
+ RequestInfo_out &operator= (const RequestInfo_out &);
+ RequestInfo_out &operator= (const RequestInfo_var &);
+ RequestInfo_out &operator= (RequestInfo_ptr);
+ operator RequestInfo_ptr &();
+ RequestInfo_ptr &ptr (void);
+ RequestInfo_ptr operator-> (void);
+
+ private:
+ RequestInfo_ptr &ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_REQUESTINFO_CH_)
+#define _PORTABLEINTERCEPTOR_REQUESTINFO_CH_
+
+class TAO_Export RequestInfo : public virtual ACE_CORBA_1 (Object)
+ {
+ public:
+ #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef RequestInfo_ptr _ptr_type;
+ typedef RequestInfo_var _var_type;
+ #endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ // the static operations
+ static RequestInfo_ptr _duplicate (RequestInfo_ptr obj);
+ static RequestInfo_ptr _narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &env =
+ TAO_default_environment ()
+ );
+ static RequestInfo_ptr _nil (void)
+ {
+ return (PortableInterceptor::RequestInfo_ptr)0;
+ }
+
+ virtual CORBA::ULong get_request_id (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::Boolean response_expected (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual IOP::ServiceContextList * get_service_contexts (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::Boolean set_service_contexts (
+ const IOP::ServiceContextList & sc
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::Object_ptr get_object (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual char * get_operation (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::NVList_ptr get_arguments (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::Boolean set_arguments (
+ CORBA::NVList_ptr args
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::Boolean _is_a (
+ const CORBA::Char *type_id,
+ CORBA::Environment &env =
+ TAO_default_environment ()
+ );
+ virtual const char* _interface_repository_id (void) const;
+
+ protected:
+ RequestInfo (void);
+ RequestInfo (TAO_Stub *objref,
+ TAO_ServantBase *_tao_servant = 0,
+ CORBA::Boolean _tao_collocated = 0
+ );
+ virtual ~RequestInfo (void);
+ private:
+ RequestInfo (const RequestInfo &);
+ void operator= (const RequestInfo &);
+ };
+
+
+#endif /* end #if !defined */
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_RequestInfo;
+
+
+#if !defined (_PORTABLEINTERCEPTOR_INTERCEPTOR___PTR_CH_)
+#define _PORTABLEINTERCEPTOR_INTERCEPTOR___PTR_CH_
+
+ class Interceptor;
+ typedef Interceptor *Interceptor_ptr;
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_INTERCEPTOR___VAR_CH_)
+#define _PORTABLEINTERCEPTOR_INTERCEPTOR___VAR_CH_
+
+ class TAO_Export Interceptor_var
+ {
+ public:
+ Interceptor_var (void); // default constructor
+ Interceptor_var (Interceptor_ptr);
+ Interceptor_var (const Interceptor_var &); // copy constructor
+ ~Interceptor_var (void); // destructor
+
+ Interceptor_var &operator= (Interceptor_ptr);
+ Interceptor_var &operator= (const Interceptor_var &);
+ Interceptor_ptr operator-> (void) const;
+
+ operator const Interceptor_ptr &() const;
+ operator Interceptor_ptr &();
+ // in, inout, out, _retn
+ Interceptor_ptr in (void) const;
+ Interceptor_ptr &inout (void);
+ Interceptor_ptr &out (void);
+ Interceptor_ptr _retn (void);
+ Interceptor_ptr ptr (void) const;
+
+ private:
+ Interceptor_ptr ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_INTERCEPTOR___OUT_CH_)
+#define _PORTABLEINTERCEPTOR_INTERCEPTOR___OUT_CH_
+
+ class TAO_Export Interceptor_out
+ {
+ public:
+ Interceptor_out (Interceptor_ptr &);
+ Interceptor_out (Interceptor_var &);
+ Interceptor_out (const Interceptor_out &);
+ Interceptor_out &operator= (const Interceptor_out &);
+ Interceptor_out &operator= (const Interceptor_var &);
+ Interceptor_out &operator= (Interceptor_ptr);
+ operator Interceptor_ptr &();
+ Interceptor_ptr &ptr (void);
+ Interceptor_ptr operator-> (void);
+
+ private:
+ Interceptor_ptr &ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_INTERCEPTOR_CH_)
+#define _PORTABLEINTERCEPTOR_INTERCEPTOR_CH_
+
+class TAO_Export Interceptor : public virtual ACE_CORBA_1 (Object)
+ {
+ public:
+ #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef Interceptor_ptr _ptr_type;
+ typedef Interceptor_var _var_type;
+ #endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ // the static operations
+ static Interceptor_ptr _duplicate (Interceptor_ptr obj);
+ static Interceptor_ptr _narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &env =
+ TAO_default_environment ()
+ );
+ static Interceptor_ptr _nil (void)
+ {
+ return (PortableInterceptor::Interceptor_ptr)0;
+ }
+
+ virtual char * name (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::Boolean _is_a (
+ const CORBA::Char *type_id,
+ CORBA::Environment &env =
+ TAO_default_environment ()
+ );
+ virtual const char* _interface_repository_id (void) const;
+
+ protected:
+ Interceptor (void);
+ Interceptor (TAO_Stub *objref,
+ TAO_ServantBase *_tao_servant = 0,
+ CORBA::Boolean _tao_collocated = 0
+ );
+ virtual ~Interceptor (void);
+ private:
+ Interceptor (const Interceptor &);
+ void operator= (const Interceptor &);
+ };
+
+
+#endif /* end #if !defined */
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Interceptor;
+
+
+#if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___PTR_CH_)
+#define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___PTR_CH_
+
+ class ServerRequestInterceptor;
+ typedef ServerRequestInterceptor *ServerRequestInterceptor_ptr;
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___VAR_CH_)
+#define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___VAR_CH_
+
+ class TAO_Export ServerRequestInterceptor_var
+ {
+ public:
+ ServerRequestInterceptor_var (void); // default constructor
+ ServerRequestInterceptor_var (ServerRequestInterceptor_ptr);
+ ServerRequestInterceptor_var (const ServerRequestInterceptor_var &); // copy constructor
+ ~ServerRequestInterceptor_var (void); // destructor
+
+ ServerRequestInterceptor_var &operator= (ServerRequestInterceptor_ptr);
+ ServerRequestInterceptor_var &operator= (const ServerRequestInterceptor_var &);
+ ServerRequestInterceptor_ptr operator-> (void) const;
+
+ operator const ServerRequestInterceptor_ptr &() const;
+ operator ServerRequestInterceptor_ptr &();
+ // in, inout, out, _retn
+ ServerRequestInterceptor_ptr in (void) const;
+ ServerRequestInterceptor_ptr &inout (void);
+ ServerRequestInterceptor_ptr &out (void);
+ ServerRequestInterceptor_ptr _retn (void);
+ ServerRequestInterceptor_ptr ptr (void) const;
+
+ private:
+ ServerRequestInterceptor_ptr ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___OUT_CH_)
+#define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___OUT_CH_
+
+ class TAO_Export ServerRequestInterceptor_out
+ {
+ public:
+ ServerRequestInterceptor_out (ServerRequestInterceptor_ptr &);
+ ServerRequestInterceptor_out (ServerRequestInterceptor_var &);
+ ServerRequestInterceptor_out (const ServerRequestInterceptor_out &);
+ ServerRequestInterceptor_out &operator= (const ServerRequestInterceptor_out &);
+ ServerRequestInterceptor_out &operator= (const ServerRequestInterceptor_var &);
+ ServerRequestInterceptor_out &operator= (ServerRequestInterceptor_ptr);
+ operator ServerRequestInterceptor_ptr &();
+ ServerRequestInterceptor_ptr &ptr (void);
+ ServerRequestInterceptor_ptr operator-> (void);
+
+ private:
+ ServerRequestInterceptor_ptr &ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR_CH_)
+#define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR_CH_
+
+class TAO_Export ServerRequestInterceptor: public virtual Interceptor
+ {
+ public:
+ #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef ServerRequestInterceptor_ptr _ptr_type;
+ typedef ServerRequestInterceptor_var _var_type;
+ #endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ // the static operations
+ static ServerRequestInterceptor_ptr _duplicate (ServerRequestInterceptor_ptr obj);
+ static ServerRequestInterceptor_ptr _narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &env =
+ TAO_default_environment ()
+ );
+ static ServerRequestInterceptor_ptr _nil (void)
+ {
+ return (PortableInterceptor::ServerRequestInterceptor_ptr)0;
+ }
+
+ virtual void preinvoke (
+ RequestInfo_ptr & ri,
+ Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual void postinvoke (
+ RequestInfo_ptr & ri,
+ Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual void exception_occurred (
+ RequestInfo_ptr & ri,
+ Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::Boolean _is_a (
+ const CORBA::Char *type_id,
+ CORBA::Environment &env =
+ TAO_default_environment ()
+ );
+ virtual const char* _interface_repository_id (void) const;
+
+ protected:
+ ServerRequestInterceptor (void);
+ ServerRequestInterceptor (TAO_Stub *objref,
+ TAO_ServantBase *_tao_servant = 0,
+ CORBA::Boolean _tao_collocated = 0
+ );
+ virtual ~ServerRequestInterceptor (void);
+ private:
+ ServerRequestInterceptor (const ServerRequestInterceptor &);
+ void operator= (const ServerRequestInterceptor &);
+ };
+
+
+#endif /* end #if !defined */
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ServerRequestInterceptor;
+
+
+#if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___PTR_CH_)
+#define _PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___PTR_CH_
+
+ class ClientRequestInterceptor;
+ typedef ClientRequestInterceptor *ClientRequestInterceptor_ptr;
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___VAR_CH_)
+#define _PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___VAR_CH_
+
+ class TAO_Export ClientRequestInterceptor_var
+ {
+ public:
+ ClientRequestInterceptor_var (void); // default constructor
+ ClientRequestInterceptor_var (ClientRequestInterceptor_ptr);
+ ClientRequestInterceptor_var (const ClientRequestInterceptor_var &); // copy constructor
+ ~ClientRequestInterceptor_var (void); // destructor
+
+ ClientRequestInterceptor_var &operator= (ClientRequestInterceptor_ptr);
+ ClientRequestInterceptor_var &operator= (const ClientRequestInterceptor_var &);
+ ClientRequestInterceptor_ptr operator-> (void) const;
+
+ operator const ClientRequestInterceptor_ptr &() const;
+ operator ClientRequestInterceptor_ptr &();
+ // in, inout, out, _retn
+ ClientRequestInterceptor_ptr in (void) const;
+ ClientRequestInterceptor_ptr &inout (void);
+ ClientRequestInterceptor_ptr &out (void);
+ ClientRequestInterceptor_ptr _retn (void);
+ ClientRequestInterceptor_ptr ptr (void) const;
+
+ private:
+ ClientRequestInterceptor_ptr ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___OUT_CH_)
+#define _PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___OUT_CH_
+
+ class TAO_Export ClientRequestInterceptor_out
+ {
+ public:
+ ClientRequestInterceptor_out (ClientRequestInterceptor_ptr &);
+ ClientRequestInterceptor_out (ClientRequestInterceptor_var &);
+ ClientRequestInterceptor_out (const ClientRequestInterceptor_out &);
+ ClientRequestInterceptor_out &operator= (const ClientRequestInterceptor_out &);
+ ClientRequestInterceptor_out &operator= (const ClientRequestInterceptor_var &);
+ ClientRequestInterceptor_out &operator= (ClientRequestInterceptor_ptr);
+ operator ClientRequestInterceptor_ptr &();
+ ClientRequestInterceptor_ptr &ptr (void);
+ ClientRequestInterceptor_ptr operator-> (void);
+
+ private:
+ ClientRequestInterceptor_ptr &ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR_CH_)
+#define _PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR_CH_
+
+class TAO_Export ClientRequestInterceptor: public virtual Interceptor
+ {
+ public:
+ #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef ClientRequestInterceptor_ptr _ptr_type;
+ typedef ClientRequestInterceptor_var _var_type;
+ #endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ // the static operations
+ static ClientRequestInterceptor_ptr _duplicate (ClientRequestInterceptor_ptr obj);
+ static ClientRequestInterceptor_ptr _narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &env =
+ TAO_default_environment ()
+ );
+ static ClientRequestInterceptor_ptr _nil (void)
+ {
+ return (PortableInterceptor::ClientRequestInterceptor_ptr)0;
+ }
+
+ virtual void preinvoke (
+ RequestInfo_ptr & ri,
+ Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual void postinvoke (
+ RequestInfo_ptr & ri,
+ Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual void exception_occurred (
+ RequestInfo_ptr & ri,
+ Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::Boolean _is_a (
+ const CORBA::Char *type_id,
+ CORBA::Environment &env =
+ TAO_default_environment ()
+ );
+ virtual const char* _interface_repository_id (void) const;
+
+ protected:
+ ClientRequestInterceptor (void);
+ ClientRequestInterceptor (TAO_Stub *objref,
+ TAO_ServantBase *_tao_servant = 0,
+ CORBA::Boolean _tao_collocated = 0
+ );
+ virtual ~ClientRequestInterceptor (void);
+ private:
+ ClientRequestInterceptor (const ClientRequestInterceptor &);
+ void operator= (const ClientRequestInterceptor &);
+ };
+
+
+#endif /* end #if !defined */
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ClientRequestInterceptor;
+
+
+}
+TAO_NAMESPACE_CLOSE // module PortableInterceptor
+
+// Any operators for interface PortableInterceptor::Cookie
+void TAO_Export operator<<= (CORBA::Any &, PortableInterceptor::Cookie_ptr);
+CORBA::Boolean TAO_Export operator>>= (const CORBA::Any &, PortableInterceptor::Cookie *&);
+void TAO_Export operator<<= (CORBA::Any &, const PortableInterceptor::Cookies &); // copying version
+void TAO_Export operator<<= (CORBA::Any &, PortableInterceptor::Cookies*); // noncopying version
+CORBA::Boolean TAO_Export operator>>= (const CORBA::Any &, PortableInterceptor::Cookies *&);
+// Any operators for interface PortableInterceptor::RequestInfo
+void TAO_Export operator<<= (CORBA::Any &, PortableInterceptor::RequestInfo_ptr);
+CORBA::Boolean TAO_Export operator>>= (const CORBA::Any &, PortableInterceptor::RequestInfo *&);
+// Any operators for interface PortableInterceptor::Interceptor
+void TAO_Export operator<<= (CORBA::Any &, PortableInterceptor::Interceptor_ptr);
+CORBA::Boolean TAO_Export operator>>= (const CORBA::Any &, PortableInterceptor::Interceptor *&);
+// Any operators for interface PortableInterceptor::ServerRequestInterceptor
+void TAO_Export operator<<= (CORBA::Any &, PortableInterceptor::ServerRequestInterceptor_ptr);
+CORBA::Boolean TAO_Export operator>>= (const CORBA::Any &, PortableInterceptor::ServerRequestInterceptor *&);
+// Any operators for interface PortableInterceptor::ClientRequestInterceptor
+void TAO_Export operator<<= (CORBA::Any &, PortableInterceptor::ClientRequestInterceptor_ptr);
+CORBA::Boolean TAO_Export operator>>= (const CORBA::Any &, PortableInterceptor::ClientRequestInterceptor *&);
+
+#ifndef __ACE_INLINE__
+
+
+#if !defined _TAO_CDR_OP_PortableInterceptor_Cookies_H_
+#define _TAO_CDR_OP_PortableInterceptor_Cookies_H_
+
+CORBA::Boolean TAO_Export operator<< (
+ TAO_OutputCDR &,
+ const PortableInterceptor::Cookies &
+ );
+CORBA::Boolean TAO_Export operator>> (
+ TAO_InputCDR &,
+ PortableInterceptor::Cookies &
+ );
+
+#endif /* _TAO_CDR_OP_PortableInterceptor_Cookies_H_ */
+
+
+#endif /* __ACE_INLINE__ */
+
+
+#if defined (__ACE_INLINE__)
+#include "InterceptorC.i"
+#endif /* defined INLINE */
+
+#if defined(_MSC_VER)
+#pragma warning(default:4250)
+#endif /* _MSC_VER */
+
+#endif /* ifndef */
diff --git a/TAO/tao/InterceptorC.i b/TAO/tao/InterceptorC.i
new file mode 100644
index 00000000000..a588119a1a9
--- /dev/null
+++ b/TAO/tao/InterceptorC.i
@@ -0,0 +1,1294 @@
+/* $Id$ -*- C++ -*- */
+
+// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
+// TAO and the TAO IDL Compiler have been developed by the Center for
+// Distributed Object Computing at Washington University, St. Louis.
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+ACE_INLINE
+PortableInterceptor::Cookie::Cookie (void) // default constructor
+{}
+
+ACE_INLINE
+PortableInterceptor::Cookie::Cookie (TAO_Stub *objref, TAO_ServantBase *_tao_servant, CORBA::Boolean _tao_collocated) // constructor
+ : CORBA_Object (objref, _tao_servant, _tao_collocated)
+{}
+
+ACE_INLINE
+PortableInterceptor::Cookie::~Cookie (void) // destructor
+{}
+
+
+#if !defined (_PORTABLEINTERCEPTOR_COOKIE___VAR_CI_)
+#define _PORTABLEINTERCEPTOR_COOKIE___VAR_CI_
+
+// *************************************************************
+// Inline operations for class PortableInterceptor::Cookie_var
+// *************************************************************
+
+ACE_INLINE
+PortableInterceptor::Cookie_var::Cookie_var (void) // default constructor
+ : ptr_ (PortableInterceptor::Cookie::_nil ())
+{}
+
+ACE_INLINE
+PortableInterceptor::Cookie_var::Cookie_var (PortableInterceptor::Cookie_ptr p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE PortableInterceptor::Cookie_ptr
+PortableInterceptor::Cookie_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableInterceptor::Cookie_var::Cookie_var (const PortableInterceptor::Cookie_var &p) // copy constructor
+ : ptr_ (PortableInterceptor::Cookie::_duplicate (p.ptr ()))
+{}
+
+ACE_INLINE
+PortableInterceptor::Cookie_var::~Cookie_var (void) // destructor
+{
+ CORBA::release (this->ptr_);
+}
+
+ACE_INLINE PortableInterceptor::Cookie_var &
+PortableInterceptor::Cookie_var::operator= (PortableInterceptor::Cookie_ptr p)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::Cookie_var &
+PortableInterceptor::Cookie_var::operator= (const PortableInterceptor::Cookie_var &p)
+{
+ if (this != &p)
+ {
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::Cookie::_duplicate (p.ptr ());
+ }
+ return *this;
+}
+
+ACE_INLINE
+PortableInterceptor::Cookie_var::operator const PortableInterceptor::Cookie_ptr &() const // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableInterceptor::Cookie_var::operator PortableInterceptor::Cookie_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Cookie_ptr
+PortableInterceptor::Cookie_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Cookie_ptr
+PortableInterceptor::Cookie_var::in (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Cookie_ptr &
+PortableInterceptor::Cookie_var::inout (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Cookie_ptr &
+PortableInterceptor::Cookie_var::out (void)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::Cookie::_nil ();
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Cookie_ptr
+PortableInterceptor::Cookie_var::_retn (void)
+{
+ // yield ownership of managed obj reference
+ PortableInterceptor::Cookie_ptr val = this->ptr_;
+ this->ptr_ = PortableInterceptor::Cookie::_nil ();
+ return val;
+}
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_COOKIE___OUT_CI_)
+#define _PORTABLEINTERCEPTOR_COOKIE___OUT_CI_
+
+// *************************************************************
+// Inline operations for class PortableInterceptor::Cookie_out
+// *************************************************************
+
+ACE_INLINE
+PortableInterceptor::Cookie_out::Cookie_out (PortableInterceptor::Cookie_ptr &p)
+ : ptr_ (p)
+{
+ this->ptr_ = PortableInterceptor::Cookie::_nil ();
+}
+
+ACE_INLINE
+PortableInterceptor::Cookie_out::Cookie_out (PortableInterceptor::Cookie_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::Cookie::_nil ();
+}
+
+ACE_INLINE
+PortableInterceptor::Cookie_out::Cookie_out (const PortableInterceptor::Cookie_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (PortableInterceptor::Cookie_out&,p).ptr_)
+{}
+
+ACE_INLINE PortableInterceptor::Cookie_out &
+PortableInterceptor::Cookie_out::operator= (const PortableInterceptor::Cookie_out &p)
+{
+ this->ptr_ = ACE_const_cast (PortableInterceptor::Cookie_out&,p).ptr_;
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::Cookie_out &
+PortableInterceptor::Cookie_out::operator= (const PortableInterceptor::Cookie_var &p)
+{
+ this->ptr_ = PortableInterceptor::Cookie::_duplicate (p.ptr ());
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::Cookie_out &
+PortableInterceptor::Cookie_out::operator= (PortableInterceptor::Cookie_ptr p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+PortableInterceptor::Cookie_out::operator PortableInterceptor::Cookie_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Cookie_ptr &
+PortableInterceptor::Cookie_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Cookie_ptr
+PortableInterceptor::Cookie_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_OBJECT_SEQUENCE_PORTABLEINTERCEPTOR_COOKIES_CI_)
+#define __TAO_UNBOUNDED_OBJECT_SEQUENCE_PORTABLEINTERCEPTOR_COOKIES_CI_
+
+ ACE_INLINE PortableInterceptor::Cookie **
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::allocbuf (CORBA::ULong nelems)
+ {
+ PortableInterceptor::Cookie **buf = 0;
+
+ ACE_NEW_RETURN (buf, PortableInterceptor::Cookie*[nelems], 0);
+
+ for (CORBA::ULong i = 0; i < nelems; i++)
+ buf[i] = PortableInterceptor::Cookie::_nil ();
+
+ return buf;
+ }
+
+ ACE_INLINE void
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::freebuf (PortableInterceptor::Cookie **buffer)
+ {
+ if (buffer == 0)
+ return;
+ delete[] buffer;
+ }
+
+ ACE_INLINE
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies (void)
+ {
+ }
+
+ ACE_INLINE
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies (CORBA::ULong maximum)
+ : TAO_Unbounded_Base_Sequence (maximum, PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::allocbuf (maximum))
+ {
+ }
+
+ ACE_INLINE
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies (CORBA::ULong maximum,
+ CORBA::ULong length,
+ PortableInterceptor::Cookie* *value,
+ CORBA::Boolean release)
+ : TAO_Unbounded_Base_Sequence (maximum, length, value, release)
+ {
+ }
+
+ ACE_INLINE
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies(const PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies &rhs)
+ : TAO_Unbounded_Base_Sequence (rhs)
+ {
+ PortableInterceptor::Cookie **tmp1 = PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::allocbuf (this->maximum_);
+ PortableInterceptor::Cookie ** const tmp2 = ACE_reinterpret_cast (PortableInterceptor::Cookie ** ACE_CAST_CONST, rhs.buffer_);
+
+ for (CORBA::ULong i = 0; i < rhs.length_; ++i)
+ tmp1[i] = PortableInterceptor::Cookie::_duplicate (tmp2[i]);
+
+ this->buffer_ = tmp1;
+ }
+
+ ACE_INLINE PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies &
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::operator= (const PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies &rhs)
+ {
+ if (this == &rhs)
+ return *this;
+
+ if (this->release_)
+ {
+ PortableInterceptor::Cookie **tmp = ACE_reinterpret_cast (PortableInterceptor::Cookie **, this->buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ {
+ CORBA::release (tmp[i]);
+ tmp[i] = PortableInterceptor::Cookie::_nil ();
+ }
+ if (this->maximum_ < rhs.maximum_)
+ {
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::freebuf (tmp);
+ this->buffer_ = PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::allocbuf (rhs.maximum_);
+ }
+ }
+ else
+ this->buffer_ = PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::allocbuf (rhs.maximum_);
+
+ TAO_Unbounded_Base_Sequence::operator= (rhs);
+
+ PortableInterceptor::Cookie **tmp1 = ACE_reinterpret_cast (PortableInterceptor::Cookie **, this->buffer_);
+ PortableInterceptor::Cookie ** const tmp2 = ACE_reinterpret_cast (PortableInterceptor::Cookie ** ACE_CAST_CONST, rhs.buffer_);
+
+ for (CORBA::ULong i = 0; i < rhs.length_; ++i)
+ tmp1[i] = PortableInterceptor::Cookie::_duplicate (tmp2[i]);
+
+ return *this;
+ }
+
+ ACE_INLINE TAO_Object_Manager<PortableInterceptor::Cookie,PortableInterceptor::Cookie_var>
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::operator[] (CORBA::ULong index) const
+ // read-write accessor
+ {
+ ACE_ASSERT (index < this->maximum_);
+ PortableInterceptor::Cookie ** const tmp = ACE_reinterpret_cast (PortableInterceptor::Cookie ** ACE_CAST_CONST, this->buffer_);
+ return TAO_Object_Manager<PortableInterceptor::Cookie,PortableInterceptor::Cookie_var> (tmp + index, this->release_);
+ }
+
+ ACE_INLINE PortableInterceptor::Cookie* *
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::get_buffer (CORBA::Boolean orphan)
+ {
+ PortableInterceptor::Cookie **result = 0;
+ if (orphan == 0)
+ {
+ // We retain ownership.
+ if (this->buffer_ == 0)
+ {
+ result = PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::allocbuf (this->maximum_);
+ this->buffer_ = result;
+ }
+ else
+ {
+ result = ACE_reinterpret_cast (PortableInterceptor::Cookie**, this->buffer_);
+ }
+ }
+ else // if (orphan == 1)
+ {
+ if (this->release_ != 0)
+ {
+ // We set the state back to default and relinquish
+ // ownership.
+ result = ACE_reinterpret_cast(PortableInterceptor::Cookie**,this->buffer_);
+ this->maximum_ = 0;
+ this->length_ = 0;
+ this->buffer_ = 0;
+ this->release_ = 0;
+ }
+ }
+ return result;
+ }
+
+ ACE_INLINE const PortableInterceptor::Cookie* *
+ PortableInterceptor::_TAO_Unbounded_Object_Sequence_PortableInterceptor_Cookies::get_buffer (void) const
+ {
+ return ACE_reinterpret_cast(const PortableInterceptor::Cookie ** ACE_CAST_CONST, this->buffer_);
+ }
+
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_PORTABLEINTERCEPTOR_COOKIES_CI_)
+#define _PORTABLEINTERCEPTOR_COOKIES_CI_
+
+// *************************************************************
+// Inline operations for class PortableInterceptor::Cookies_var
+// *************************************************************
+
+ACE_INLINE
+PortableInterceptor::Cookies_var::Cookies_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+PortableInterceptor::Cookies_var::Cookies_var (PortableInterceptor::Cookies *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+PortableInterceptor::Cookies_var::Cookies_var (const PortableInterceptor::Cookies_var &p) // copy constructor
+{
+ if (p.ptr_)
+ this->ptr_ = new PortableInterceptor::Cookies(*p.ptr_);
+ else
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableInterceptor::Cookies_var::~Cookies_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Cookies_var &
+PortableInterceptor::Cookies_var::operator= (PortableInterceptor::Cookies *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::Cookies_var &
+PortableInterceptor::Cookies_var::operator= (const PortableInterceptor::Cookies_var &p) // deep copy
+{
+ if (this != &p)
+ {
+ delete this->ptr_;
+ this->ptr_ = new PortableInterceptor::Cookies (*p.ptr_);
+ }
+ return *this;
+}
+
+ACE_INLINE const PortableInterceptor::Cookies *
+PortableInterceptor::Cookies_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Cookies *
+PortableInterceptor::Cookies_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableInterceptor::Cookies_var::operator const PortableInterceptor::Cookies &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableInterceptor::Cookies_var::operator PortableInterceptor::Cookies &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableInterceptor::Cookies_var::operator PortableInterceptor::Cookies &() const// cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE TAO_Object_Manager<PortableInterceptor::Cookie,PortableInterceptor::Cookie_var>
+PortableInterceptor::Cookies_var::operator[] (CORBA::ULong index)
+{
+ return this->ptr_->operator[] (index);
+}
+
+ACE_INLINE const PortableInterceptor::Cookies &
+PortableInterceptor::Cookies_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Cookies &
+PortableInterceptor::Cookies_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for variable size
+ACE_INLINE PortableInterceptor::Cookies *&
+PortableInterceptor::Cookies_var::out (void)
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Cookies *
+PortableInterceptor::Cookies_var::_retn (void)
+{
+ PortableInterceptor::Cookies *tmp = this->ptr_;
+ this->ptr_ = 0;
+ return tmp;
+}
+
+ACE_INLINE PortableInterceptor::Cookies *
+PortableInterceptor::Cookies_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class PortableInterceptor::Cookies_out
+// *************************************************************
+
+ACE_INLINE
+PortableInterceptor::Cookies_out::Cookies_out (PortableInterceptor::Cookies *&p)
+ : ptr_ (p)
+{
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableInterceptor::Cookies_out::Cookies_out (PortableInterceptor::Cookies_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableInterceptor::Cookies_out::Cookies_out (const PortableInterceptor::Cookies_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (PortableInterceptor::Cookies_out&,p).ptr_)
+{}
+
+ACE_INLINE PortableInterceptor::Cookies_out &
+PortableInterceptor::Cookies_out::operator= (const PortableInterceptor::Cookies_out &p)
+{
+ this->ptr_ = ACE_const_cast (PortableInterceptor::Cookies_out&,p).ptr_;
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::Cookies_out &
+PortableInterceptor::Cookies_out::operator= (PortableInterceptor::Cookies *p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+PortableInterceptor::Cookies_out::operator PortableInterceptor::Cookies *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Cookies *&
+PortableInterceptor::Cookies_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Cookies *
+PortableInterceptor::Cookies_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE TAO_Object_Manager<PortableInterceptor::Cookie,PortableInterceptor::Cookie_var>
+PortableInterceptor::Cookies_out::operator[] (CORBA::ULong index)
+{
+ return this->ptr_->operator[] (index);
+}
+
+
+#endif /* end #if !defined */
+
+ACE_INLINE
+PortableInterceptor::RequestInfo::RequestInfo (void) // default constructor
+{}
+
+ACE_INLINE
+PortableInterceptor::RequestInfo::RequestInfo (TAO_Stub *objref, TAO_ServantBase *_tao_servant, CORBA::Boolean _tao_collocated) // constructor
+ : CORBA_Object (objref, _tao_servant, _tao_collocated)
+{}
+
+ACE_INLINE
+PortableInterceptor::RequestInfo::~RequestInfo (void) // destructor
+{}
+
+
+#if !defined (_PORTABLEINTERCEPTOR_REQUESTINFO___VAR_CI_)
+#define _PORTABLEINTERCEPTOR_REQUESTINFO___VAR_CI_
+
+// *************************************************************
+// Inline operations for class PortableInterceptor::RequestInfo_var
+// *************************************************************
+
+ACE_INLINE
+PortableInterceptor::RequestInfo_var::RequestInfo_var (void) // default constructor
+ : ptr_ (PortableInterceptor::RequestInfo::_nil ())
+{}
+
+ACE_INLINE
+PortableInterceptor::RequestInfo_var::RequestInfo_var (PortableInterceptor::RequestInfo_ptr p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE PortableInterceptor::RequestInfo_ptr
+PortableInterceptor::RequestInfo_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableInterceptor::RequestInfo_var::RequestInfo_var (const PortableInterceptor::RequestInfo_var &p) // copy constructor
+ : ptr_ (PortableInterceptor::RequestInfo::_duplicate (p.ptr ()))
+{}
+
+ACE_INLINE
+PortableInterceptor::RequestInfo_var::~RequestInfo_var (void) // destructor
+{
+ CORBA::release (this->ptr_);
+}
+
+ACE_INLINE PortableInterceptor::RequestInfo_var &
+PortableInterceptor::RequestInfo_var::operator= (PortableInterceptor::RequestInfo_ptr p)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::RequestInfo_var &
+PortableInterceptor::RequestInfo_var::operator= (const PortableInterceptor::RequestInfo_var &p)
+{
+ if (this != &p)
+ {
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::RequestInfo::_duplicate (p.ptr ());
+ }
+ return *this;
+}
+
+ACE_INLINE
+PortableInterceptor::RequestInfo_var::operator const PortableInterceptor::RequestInfo_ptr &() const // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableInterceptor::RequestInfo_var::operator PortableInterceptor::RequestInfo_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::RequestInfo_ptr
+PortableInterceptor::RequestInfo_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::RequestInfo_ptr
+PortableInterceptor::RequestInfo_var::in (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::RequestInfo_ptr &
+PortableInterceptor::RequestInfo_var::inout (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::RequestInfo_ptr &
+PortableInterceptor::RequestInfo_var::out (void)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::RequestInfo::_nil ();
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::RequestInfo_ptr
+PortableInterceptor::RequestInfo_var::_retn (void)
+{
+ // yield ownership of managed obj reference
+ PortableInterceptor::RequestInfo_ptr val = this->ptr_;
+ this->ptr_ = PortableInterceptor::RequestInfo::_nil ();
+ return val;
+}
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_REQUESTINFO___OUT_CI_)
+#define _PORTABLEINTERCEPTOR_REQUESTINFO___OUT_CI_
+
+// *************************************************************
+// Inline operations for class PortableInterceptor::RequestInfo_out
+// *************************************************************
+
+ACE_INLINE
+PortableInterceptor::RequestInfo_out::RequestInfo_out (PortableInterceptor::RequestInfo_ptr &p)
+ : ptr_ (p)
+{
+ this->ptr_ = PortableInterceptor::RequestInfo::_nil ();
+}
+
+ACE_INLINE
+PortableInterceptor::RequestInfo_out::RequestInfo_out (PortableInterceptor::RequestInfo_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::RequestInfo::_nil ();
+}
+
+ACE_INLINE
+PortableInterceptor::RequestInfo_out::RequestInfo_out (const PortableInterceptor::RequestInfo_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (PortableInterceptor::RequestInfo_out&,p).ptr_)
+{}
+
+ACE_INLINE PortableInterceptor::RequestInfo_out &
+PortableInterceptor::RequestInfo_out::operator= (const PortableInterceptor::RequestInfo_out &p)
+{
+ this->ptr_ = ACE_const_cast (PortableInterceptor::RequestInfo_out&,p).ptr_;
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::RequestInfo_out &
+PortableInterceptor::RequestInfo_out::operator= (const PortableInterceptor::RequestInfo_var &p)
+{
+ this->ptr_ = PortableInterceptor::RequestInfo::_duplicate (p.ptr ());
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::RequestInfo_out &
+PortableInterceptor::RequestInfo_out::operator= (PortableInterceptor::RequestInfo_ptr p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+PortableInterceptor::RequestInfo_out::operator PortableInterceptor::RequestInfo_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::RequestInfo_ptr &
+PortableInterceptor::RequestInfo_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::RequestInfo_ptr
+PortableInterceptor::RequestInfo_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+
+#endif /* end #if !defined */
+
+ACE_INLINE
+PortableInterceptor::Interceptor::Interceptor (void) // default constructor
+{}
+
+ACE_INLINE
+PortableInterceptor::Interceptor::Interceptor (TAO_Stub *objref, TAO_ServantBase *_tao_servant, CORBA::Boolean _tao_collocated) // constructor
+ : CORBA_Object (objref, _tao_servant, _tao_collocated)
+{}
+
+ACE_INLINE
+PortableInterceptor::Interceptor::~Interceptor (void) // destructor
+{}
+
+
+#if !defined (_PORTABLEINTERCEPTOR_INTERCEPTOR___VAR_CI_)
+#define _PORTABLEINTERCEPTOR_INTERCEPTOR___VAR_CI_
+
+// *************************************************************
+// Inline operations for class PortableInterceptor::Interceptor_var
+// *************************************************************
+
+ACE_INLINE
+PortableInterceptor::Interceptor_var::Interceptor_var (void) // default constructor
+ : ptr_ (PortableInterceptor::Interceptor::_nil ())
+{}
+
+ACE_INLINE
+PortableInterceptor::Interceptor_var::Interceptor_var (PortableInterceptor::Interceptor_ptr p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE PortableInterceptor::Interceptor_ptr
+PortableInterceptor::Interceptor_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableInterceptor::Interceptor_var::Interceptor_var (const PortableInterceptor::Interceptor_var &p) // copy constructor
+ : ptr_ (PortableInterceptor::Interceptor::_duplicate (p.ptr ()))
+{}
+
+ACE_INLINE
+PortableInterceptor::Interceptor_var::~Interceptor_var (void) // destructor
+{
+ CORBA::release (this->ptr_);
+}
+
+ACE_INLINE PortableInterceptor::Interceptor_var &
+PortableInterceptor::Interceptor_var::operator= (PortableInterceptor::Interceptor_ptr p)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::Interceptor_var &
+PortableInterceptor::Interceptor_var::operator= (const PortableInterceptor::Interceptor_var &p)
+{
+ if (this != &p)
+ {
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::Interceptor::_duplicate (p.ptr ());
+ }
+ return *this;
+}
+
+ACE_INLINE
+PortableInterceptor::Interceptor_var::operator const PortableInterceptor::Interceptor_ptr &() const // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableInterceptor::Interceptor_var::operator PortableInterceptor::Interceptor_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Interceptor_ptr
+PortableInterceptor::Interceptor_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Interceptor_ptr
+PortableInterceptor::Interceptor_var::in (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Interceptor_ptr &
+PortableInterceptor::Interceptor_var::inout (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Interceptor_ptr &
+PortableInterceptor::Interceptor_var::out (void)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::Interceptor::_nil ();
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Interceptor_ptr
+PortableInterceptor::Interceptor_var::_retn (void)
+{
+ // yield ownership of managed obj reference
+ PortableInterceptor::Interceptor_ptr val = this->ptr_;
+ this->ptr_ = PortableInterceptor::Interceptor::_nil ();
+ return val;
+}
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_INTERCEPTOR___OUT_CI_)
+#define _PORTABLEINTERCEPTOR_INTERCEPTOR___OUT_CI_
+
+// *************************************************************
+// Inline operations for class PortableInterceptor::Interceptor_out
+// *************************************************************
+
+ACE_INLINE
+PortableInterceptor::Interceptor_out::Interceptor_out (PortableInterceptor::Interceptor_ptr &p)
+ : ptr_ (p)
+{
+ this->ptr_ = PortableInterceptor::Interceptor::_nil ();
+}
+
+ACE_INLINE
+PortableInterceptor::Interceptor_out::Interceptor_out (PortableInterceptor::Interceptor_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::Interceptor::_nil ();
+}
+
+ACE_INLINE
+PortableInterceptor::Interceptor_out::Interceptor_out (const PortableInterceptor::Interceptor_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (PortableInterceptor::Interceptor_out&,p).ptr_)
+{}
+
+ACE_INLINE PortableInterceptor::Interceptor_out &
+PortableInterceptor::Interceptor_out::operator= (const PortableInterceptor::Interceptor_out &p)
+{
+ this->ptr_ = ACE_const_cast (PortableInterceptor::Interceptor_out&,p).ptr_;
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::Interceptor_out &
+PortableInterceptor::Interceptor_out::operator= (const PortableInterceptor::Interceptor_var &p)
+{
+ this->ptr_ = PortableInterceptor::Interceptor::_duplicate (p.ptr ());
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::Interceptor_out &
+PortableInterceptor::Interceptor_out::operator= (PortableInterceptor::Interceptor_ptr p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+PortableInterceptor::Interceptor_out::operator PortableInterceptor::Interceptor_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Interceptor_ptr &
+PortableInterceptor::Interceptor_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::Interceptor_ptr
+PortableInterceptor::Interceptor_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+
+#endif /* end #if !defined */
+
+ACE_INLINE
+PortableInterceptor::ServerRequestInterceptor::ServerRequestInterceptor (void) // default constructor
+{}
+
+ACE_INLINE
+PortableInterceptor::ServerRequestInterceptor::ServerRequestInterceptor (TAO_Stub *objref, TAO_ServantBase *_tao_servant, CORBA::Boolean _tao_collocated) // constructor
+ : CORBA_Object (objref, _tao_servant, _tao_collocated)
+{}
+
+ACE_INLINE
+PortableInterceptor::ServerRequestInterceptor::~ServerRequestInterceptor (void) // destructor
+{}
+
+
+#if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___VAR_CI_)
+#define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___VAR_CI_
+
+// *************************************************************
+// Inline operations for class PortableInterceptor::ServerRequestInterceptor_var
+// *************************************************************
+
+ACE_INLINE
+PortableInterceptor::ServerRequestInterceptor_var::ServerRequestInterceptor_var (void) // default constructor
+ : ptr_ (PortableInterceptor::ServerRequestInterceptor::_nil ())
+{}
+
+ACE_INLINE
+PortableInterceptor::ServerRequestInterceptor_var::ServerRequestInterceptor_var (PortableInterceptor::ServerRequestInterceptor_ptr p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE PortableInterceptor::ServerRequestInterceptor_ptr
+PortableInterceptor::ServerRequestInterceptor_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableInterceptor::ServerRequestInterceptor_var::ServerRequestInterceptor_var (const PortableInterceptor::ServerRequestInterceptor_var &p) // copy constructor
+ : ptr_ (PortableInterceptor::ServerRequestInterceptor::_duplicate (p.ptr ()))
+{}
+
+ACE_INLINE
+PortableInterceptor::ServerRequestInterceptor_var::~ServerRequestInterceptor_var (void) // destructor
+{
+ CORBA::release (this->ptr_);
+}
+
+ACE_INLINE PortableInterceptor::ServerRequestInterceptor_var &
+PortableInterceptor::ServerRequestInterceptor_var::operator= (PortableInterceptor::ServerRequestInterceptor_ptr p)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::ServerRequestInterceptor_var &
+PortableInterceptor::ServerRequestInterceptor_var::operator= (const PortableInterceptor::ServerRequestInterceptor_var &p)
+{
+ if (this != &p)
+ {
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::ServerRequestInterceptor::_duplicate (p.ptr ());
+ }
+ return *this;
+}
+
+ACE_INLINE
+PortableInterceptor::ServerRequestInterceptor_var::operator const PortableInterceptor::ServerRequestInterceptor_ptr &() const // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableInterceptor::ServerRequestInterceptor_var::operator PortableInterceptor::ServerRequestInterceptor_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::ServerRequestInterceptor_ptr
+PortableInterceptor::ServerRequestInterceptor_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::ServerRequestInterceptor_ptr
+PortableInterceptor::ServerRequestInterceptor_var::in (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::ServerRequestInterceptor_ptr &
+PortableInterceptor::ServerRequestInterceptor_var::inout (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::ServerRequestInterceptor_ptr &
+PortableInterceptor::ServerRequestInterceptor_var::out (void)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::ServerRequestInterceptor::_nil ();
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::ServerRequestInterceptor_ptr
+PortableInterceptor::ServerRequestInterceptor_var::_retn (void)
+{
+ // yield ownership of managed obj reference
+ PortableInterceptor::ServerRequestInterceptor_ptr val = this->ptr_;
+ this->ptr_ = PortableInterceptor::ServerRequestInterceptor::_nil ();
+ return val;
+}
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___OUT_CI_)
+#define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___OUT_CI_
+
+// *************************************************************
+// Inline operations for class PortableInterceptor::ServerRequestInterceptor_out
+// *************************************************************
+
+ACE_INLINE
+PortableInterceptor::ServerRequestInterceptor_out::ServerRequestInterceptor_out (PortableInterceptor::ServerRequestInterceptor_ptr &p)
+ : ptr_ (p)
+{
+ this->ptr_ = PortableInterceptor::ServerRequestInterceptor::_nil ();
+}
+
+ACE_INLINE
+PortableInterceptor::ServerRequestInterceptor_out::ServerRequestInterceptor_out (PortableInterceptor::ServerRequestInterceptor_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::ServerRequestInterceptor::_nil ();
+}
+
+ACE_INLINE
+PortableInterceptor::ServerRequestInterceptor_out::ServerRequestInterceptor_out (const PortableInterceptor::ServerRequestInterceptor_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (PortableInterceptor::ServerRequestInterceptor_out&,p).ptr_)
+{}
+
+ACE_INLINE PortableInterceptor::ServerRequestInterceptor_out &
+PortableInterceptor::ServerRequestInterceptor_out::operator= (const PortableInterceptor::ServerRequestInterceptor_out &p)
+{
+ this->ptr_ = ACE_const_cast (PortableInterceptor::ServerRequestInterceptor_out&,p).ptr_;
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::ServerRequestInterceptor_out &
+PortableInterceptor::ServerRequestInterceptor_out::operator= (const PortableInterceptor::ServerRequestInterceptor_var &p)
+{
+ this->ptr_ = PortableInterceptor::ServerRequestInterceptor::_duplicate (p.ptr ());
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::ServerRequestInterceptor_out &
+PortableInterceptor::ServerRequestInterceptor_out::operator= (PortableInterceptor::ServerRequestInterceptor_ptr p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+PortableInterceptor::ServerRequestInterceptor_out::operator PortableInterceptor::ServerRequestInterceptor_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::ServerRequestInterceptor_ptr &
+PortableInterceptor::ServerRequestInterceptor_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::ServerRequestInterceptor_ptr
+PortableInterceptor::ServerRequestInterceptor_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+
+#endif /* end #if !defined */
+
+ACE_INLINE
+PortableInterceptor::ClientRequestInterceptor::ClientRequestInterceptor (void) // default constructor
+{}
+
+ACE_INLINE
+PortableInterceptor::ClientRequestInterceptor::ClientRequestInterceptor (TAO_Stub *objref, TAO_ServantBase *_tao_servant, CORBA::Boolean _tao_collocated) // constructor
+ : CORBA_Object (objref, _tao_servant, _tao_collocated)
+{}
+
+ACE_INLINE
+PortableInterceptor::ClientRequestInterceptor::~ClientRequestInterceptor (void) // destructor
+{}
+
+
+#if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___VAR_CI_)
+#define _PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___VAR_CI_
+
+// *************************************************************
+// Inline operations for class PortableInterceptor::ClientRequestInterceptor_var
+// *************************************************************
+
+ACE_INLINE
+PortableInterceptor::ClientRequestInterceptor_var::ClientRequestInterceptor_var (void) // default constructor
+ : ptr_ (PortableInterceptor::ClientRequestInterceptor::_nil ())
+{}
+
+ACE_INLINE
+PortableInterceptor::ClientRequestInterceptor_var::ClientRequestInterceptor_var (PortableInterceptor::ClientRequestInterceptor_ptr p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE PortableInterceptor::ClientRequestInterceptor_ptr
+PortableInterceptor::ClientRequestInterceptor_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableInterceptor::ClientRequestInterceptor_var::ClientRequestInterceptor_var (const PortableInterceptor::ClientRequestInterceptor_var &p) // copy constructor
+ : ptr_ (PortableInterceptor::ClientRequestInterceptor::_duplicate (p.ptr ()))
+{}
+
+ACE_INLINE
+PortableInterceptor::ClientRequestInterceptor_var::~ClientRequestInterceptor_var (void) // destructor
+{
+ CORBA::release (this->ptr_);
+}
+
+ACE_INLINE PortableInterceptor::ClientRequestInterceptor_var &
+PortableInterceptor::ClientRequestInterceptor_var::operator= (PortableInterceptor::ClientRequestInterceptor_ptr p)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::ClientRequestInterceptor_var &
+PortableInterceptor::ClientRequestInterceptor_var::operator= (const PortableInterceptor::ClientRequestInterceptor_var &p)
+{
+ if (this != &p)
+ {
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::ClientRequestInterceptor::_duplicate (p.ptr ());
+ }
+ return *this;
+}
+
+ACE_INLINE
+PortableInterceptor::ClientRequestInterceptor_var::operator const PortableInterceptor::ClientRequestInterceptor_ptr &() const // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableInterceptor::ClientRequestInterceptor_var::operator PortableInterceptor::ClientRequestInterceptor_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::ClientRequestInterceptor_ptr
+PortableInterceptor::ClientRequestInterceptor_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::ClientRequestInterceptor_ptr
+PortableInterceptor::ClientRequestInterceptor_var::in (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::ClientRequestInterceptor_ptr &
+PortableInterceptor::ClientRequestInterceptor_var::inout (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::ClientRequestInterceptor_ptr &
+PortableInterceptor::ClientRequestInterceptor_var::out (void)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::ClientRequestInterceptor::_nil ();
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::ClientRequestInterceptor_ptr
+PortableInterceptor::ClientRequestInterceptor_var::_retn (void)
+{
+ // yield ownership of managed obj reference
+ PortableInterceptor::ClientRequestInterceptor_ptr val = this->ptr_;
+ this->ptr_ = PortableInterceptor::ClientRequestInterceptor::_nil ();
+ return val;
+}
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___OUT_CI_)
+#define _PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___OUT_CI_
+
+// *************************************************************
+// Inline operations for class PortableInterceptor::ClientRequestInterceptor_out
+// *************************************************************
+
+ACE_INLINE
+PortableInterceptor::ClientRequestInterceptor_out::ClientRequestInterceptor_out (PortableInterceptor::ClientRequestInterceptor_ptr &p)
+ : ptr_ (p)
+{
+ this->ptr_ = PortableInterceptor::ClientRequestInterceptor::_nil ();
+}
+
+ACE_INLINE
+PortableInterceptor::ClientRequestInterceptor_out::ClientRequestInterceptor_out (PortableInterceptor::ClientRequestInterceptor_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = PortableInterceptor::ClientRequestInterceptor::_nil ();
+}
+
+ACE_INLINE
+PortableInterceptor::ClientRequestInterceptor_out::ClientRequestInterceptor_out (const PortableInterceptor::ClientRequestInterceptor_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (PortableInterceptor::ClientRequestInterceptor_out&,p).ptr_)
+{}
+
+ACE_INLINE PortableInterceptor::ClientRequestInterceptor_out &
+PortableInterceptor::ClientRequestInterceptor_out::operator= (const PortableInterceptor::ClientRequestInterceptor_out &p)
+{
+ this->ptr_ = ACE_const_cast (PortableInterceptor::ClientRequestInterceptor_out&,p).ptr_;
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::ClientRequestInterceptor_out &
+PortableInterceptor::ClientRequestInterceptor_out::operator= (const PortableInterceptor::ClientRequestInterceptor_var &p)
+{
+ this->ptr_ = PortableInterceptor::ClientRequestInterceptor::_duplicate (p.ptr ());
+ return *this;
+}
+
+ACE_INLINE PortableInterceptor::ClientRequestInterceptor_out &
+PortableInterceptor::ClientRequestInterceptor_out::operator= (PortableInterceptor::ClientRequestInterceptor_ptr p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+PortableInterceptor::ClientRequestInterceptor_out::operator PortableInterceptor::ClientRequestInterceptor_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::ClientRequestInterceptor_ptr &
+PortableInterceptor::ClientRequestInterceptor_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableInterceptor::ClientRequestInterceptor_ptr
+PortableInterceptor::ClientRequestInterceptor_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+
+#endif /* end #if !defined */
+
+
+#if !defined _TAO_CDR_OP_PortableInterceptor_Cookies_I_
+#define _TAO_CDR_OP_PortableInterceptor_Cookies_I_
+
+CORBA::Boolean TAO_Export operator<< (
+ TAO_OutputCDR &,
+ const PortableInterceptor::Cookies &
+ );
+CORBA::Boolean TAO_Export operator>> (
+ TAO_InputCDR &,
+ PortableInterceptor::Cookies &
+ );
+
+#endif /* _TAO_CDR_OP_PortableInterceptor_Cookies_I_ */
diff --git a/TAO/tao/InterceptorS.cpp b/TAO/tao/InterceptorS.cpp
new file mode 100644
index 00000000000..33d233fac67
--- /dev/null
+++ b/TAO/tao/InterceptorS.cpp
@@ -0,0 +1,656 @@
+/* $Id$ -*- C++ -*- */
+
+// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
+// TAO and the TAO IDL Compiler have been developed by the Center for
+// Distributed Object Computing at Washington University, St. Louis.
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#include "InterceptorS.h"
+
+// skeleton constructor
+POA_PortableInterceptor::Cookie::Cookie (void)
+{
+
+}
+
+// skeleton destructor
+POA_PortableInterceptor::Cookie::~Cookie (void)
+{
+}
+
+CORBA::Boolean POA_PortableInterceptor::Cookie::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:TAO/PortableInterceptor/Cookie:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_PortableInterceptor::Cookie::_downcast (
+ const char* logical_type_id
+ )
+{
+if (ACE_OS::strcmp (logical_type_id, "IDL:TAO/PortableInterceptor/Cookie:1.0") == 0)
+ return ACE_static_cast (POA_PortableInterceptor::Cookie_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+const char* POA_PortableInterceptor::Cookie::_interface_repository_id (void) const
+{
+ return "IDL:TAO/PortableInterceptor/Cookie:1.0";
+}
+
+PortableInterceptor::Cookie*
+POA_PortableInterceptor::Cookie::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+ return new POA_PortableInterceptor::_tao_direct_collocated_Cookie (this, stub);
+}
+
+POA_PortableInterceptor::_tao_direct_collocated_Cookie::_tao_direct_collocated_Cookie (
+ POA_PortableInterceptor::Cookie_ptr servant,
+ TAO_Stub *stub
+ )
+ : ACE_NESTED_CLASS (PortableInterceptor,Cookie) (),
+ CORBA_Object (stub, servant, 1),
+ servant_ (servant)
+{
+}
+
+CORBA::Boolean POA_PortableInterceptor::_tao_direct_collocated_Cookie::_is_a(
+ const CORBA::Char *logical_type_id,
+ CORBA_Environment &ACE_TRY_ENV
+ )
+
+{
+ return this->servant_->_is_a (logical_type_id, ACE_TRY_ENV);
+}
+
+
+POA_PortableInterceptor::Cookie_ptr POA_PortableInterceptor::_tao_direct_collocated_Cookie::_get_servant (void) const
+{
+ return this->servant_;
+}
+
+CORBA::Boolean POA_PortableInterceptor::_tao_direct_collocated_Cookie::_non_existent(
+ CORBA_Environment &ACE_TRY_ENV
+ )
+
+{
+ return this->servant_->_non_existent (ACE_TRY_ENV);
+}
+
+
+char * POA_PortableInterceptor::_tao_direct_collocated_Cookie::myname (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->servant_->myname (
+
+ );
+
+}
+
+
+
+// skeleton constructor
+POA_PortableInterceptor::RequestInfo::RequestInfo (void)
+{
+
+}
+
+// skeleton destructor
+POA_PortableInterceptor::RequestInfo::~RequestInfo (void)
+{
+}
+
+CORBA::Boolean POA_PortableInterceptor::RequestInfo::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:TAO/PortableInterceptor/RequestInfo:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_PortableInterceptor::RequestInfo::_downcast (
+ const char* logical_type_id
+ )
+{
+if (ACE_OS::strcmp (logical_type_id, "IDL:TAO/PortableInterceptor/RequestInfo:1.0") == 0)
+ return ACE_static_cast (POA_PortableInterceptor::RequestInfo_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+const char* POA_PortableInterceptor::RequestInfo::_interface_repository_id (void) const
+{
+ return "IDL:TAO/PortableInterceptor/RequestInfo:1.0";
+}
+
+PortableInterceptor::RequestInfo*
+POA_PortableInterceptor::RequestInfo::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+ return new POA_PortableInterceptor::_tao_direct_collocated_RequestInfo (this, stub);
+}
+
+POA_PortableInterceptor::_tao_direct_collocated_RequestInfo::_tao_direct_collocated_RequestInfo (
+ POA_PortableInterceptor::RequestInfo_ptr servant,
+ TAO_Stub *stub
+ )
+ : ACE_NESTED_CLASS (PortableInterceptor,RequestInfo) (),
+ CORBA_Object (stub, servant, 1),
+ servant_ (servant)
+{
+}
+
+CORBA::Boolean POA_PortableInterceptor::_tao_direct_collocated_RequestInfo::_is_a(
+ const CORBA::Char *logical_type_id,
+ CORBA_Environment &ACE_TRY_ENV
+ )
+
+{
+ return this->servant_->_is_a (logical_type_id, ACE_TRY_ENV);
+}
+
+
+POA_PortableInterceptor::RequestInfo_ptr POA_PortableInterceptor::_tao_direct_collocated_RequestInfo::_get_servant (void) const
+{
+ return this->servant_;
+}
+
+CORBA::Boolean POA_PortableInterceptor::_tao_direct_collocated_RequestInfo::_non_existent(
+ CORBA_Environment &ACE_TRY_ENV
+ )
+
+{
+ return this->servant_->_non_existent (ACE_TRY_ENV);
+}
+
+
+CORBA::ULong POA_PortableInterceptor::_tao_direct_collocated_RequestInfo::get_request_id (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->servant_->get_request_id (
+
+ );
+
+}
+
+CORBA::Boolean POA_PortableInterceptor::_tao_direct_collocated_RequestInfo::response_expected (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->servant_->response_expected (
+
+ );
+
+}
+
+IOP::ServiceContextList * POA_PortableInterceptor::_tao_direct_collocated_RequestInfo::get_service_contexts (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->servant_->get_service_contexts (
+
+ );
+
+}
+
+CORBA::Boolean POA_PortableInterceptor::_tao_direct_collocated_RequestInfo::set_service_contexts (
+ const IOP::ServiceContextList & sc
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->servant_->set_service_contexts (
+ sc
+ );
+
+}
+
+CORBA::Object_ptr POA_PortableInterceptor::_tao_direct_collocated_RequestInfo::get_object (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->servant_->get_object (
+
+ );
+
+}
+
+char * POA_PortableInterceptor::_tao_direct_collocated_RequestInfo::get_operation (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->servant_->get_operation (
+
+ );
+
+}
+
+CORBA::NVList_ptr POA_PortableInterceptor::_tao_direct_collocated_RequestInfo::get_arguments (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->servant_->get_arguments (
+
+ );
+
+}
+
+CORBA::Boolean POA_PortableInterceptor::_tao_direct_collocated_RequestInfo::set_arguments (
+ CORBA::NVList_ptr args
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->servant_->set_arguments (
+ args
+ );
+
+}
+
+
+
+// skeleton constructor
+POA_PortableInterceptor::Interceptor::Interceptor (void)
+{
+
+}
+
+// skeleton destructor
+POA_PortableInterceptor::Interceptor::~Interceptor (void)
+{
+}
+
+CORBA::Boolean POA_PortableInterceptor::Interceptor::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:TAO/PortableInterceptor/Interceptor:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_PortableInterceptor::Interceptor::_downcast (
+ const char* logical_type_id
+ )
+{
+if (ACE_OS::strcmp (logical_type_id, "IDL:TAO/PortableInterceptor/Interceptor:1.0") == 0)
+ return ACE_static_cast (POA_PortableInterceptor::Interceptor_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+const char* POA_PortableInterceptor::Interceptor::_interface_repository_id (void) const
+{
+ return "IDL:TAO/PortableInterceptor/Interceptor:1.0";
+}
+
+PortableInterceptor::Interceptor*
+POA_PortableInterceptor::Interceptor::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+ return new POA_PortableInterceptor::_tao_direct_collocated_Interceptor (this, stub);
+}
+
+POA_PortableInterceptor::_tao_direct_collocated_Interceptor::_tao_direct_collocated_Interceptor (
+ POA_PortableInterceptor::Interceptor_ptr servant,
+ TAO_Stub *stub
+ )
+ : ACE_NESTED_CLASS (PortableInterceptor,Interceptor) (),
+ CORBA_Object (stub, servant, 1),
+ servant_ (servant)
+{
+}
+
+CORBA::Boolean POA_PortableInterceptor::_tao_direct_collocated_Interceptor::_is_a(
+ const CORBA::Char *logical_type_id,
+ CORBA_Environment &ACE_TRY_ENV
+ )
+
+{
+ return this->servant_->_is_a (logical_type_id, ACE_TRY_ENV);
+}
+
+
+POA_PortableInterceptor::Interceptor_ptr POA_PortableInterceptor::_tao_direct_collocated_Interceptor::_get_servant (void) const
+{
+ return this->servant_;
+}
+
+CORBA::Boolean POA_PortableInterceptor::_tao_direct_collocated_Interceptor::_non_existent(
+ CORBA_Environment &ACE_TRY_ENV
+ )
+
+{
+ return this->servant_->_non_existent (ACE_TRY_ENV);
+}
+
+
+char * POA_PortableInterceptor::_tao_direct_collocated_Interceptor::name (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->servant_->name (
+
+ );
+
+}
+
+
+
+// skeleton constructor
+POA_PortableInterceptor::ServerRequestInterceptor::ServerRequestInterceptor (void)
+{
+
+}
+
+// skeleton destructor
+POA_PortableInterceptor::ServerRequestInterceptor::~ServerRequestInterceptor (void)
+{
+}
+
+CORBA::Boolean POA_PortableInterceptor::ServerRequestInterceptor::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:TAO/PortableInterceptor/ServerRequestInterceptor:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:TAO/PortableInterceptor/Interceptor:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_PortableInterceptor::ServerRequestInterceptor::_downcast (
+ const char* logical_type_id
+ )
+{
+if (ACE_OS::strcmp (logical_type_id, "IDL:TAO/PortableInterceptor/ServerRequestInterceptor:1.0") == 0)
+ return ACE_static_cast (POA_PortableInterceptor::ServerRequestInterceptor_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:TAO/PortableInterceptor/Interceptor:1.0") == 0)
+ return ACE_static_cast (POA_PortableInterceptor::Interceptor_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+const char* POA_PortableInterceptor::ServerRequestInterceptor::_interface_repository_id (void) const
+{
+ return "IDL:TAO/PortableInterceptor/ServerRequestInterceptor:1.0";
+}
+
+PortableInterceptor::ServerRequestInterceptor*
+POA_PortableInterceptor::ServerRequestInterceptor::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+ return new POA_PortableInterceptor::_tao_direct_collocated_ServerRequestInterceptor (this, stub);
+}
+
+POA_PortableInterceptor::_tao_direct_collocated_ServerRequestInterceptor::_tao_direct_collocated_ServerRequestInterceptor (
+ POA_PortableInterceptor::ServerRequestInterceptor_ptr servant,
+ TAO_Stub *stub
+ )
+ : ACE_NESTED_CLASS (PortableInterceptor,ServerRequestInterceptor) (),
+ ACE_NESTED_CLASS (POA_PortableInterceptor,_tao_direct_collocated_Interceptor) (servant, stub),
+ CORBA_Object (stub, servant, 1),
+ servant_ (servant)
+{
+}
+
+CORBA::Boolean POA_PortableInterceptor::_tao_direct_collocated_ServerRequestInterceptor::_is_a(
+ const CORBA::Char *logical_type_id,
+ CORBA_Environment &ACE_TRY_ENV
+ )
+
+{
+ return this->servant_->_is_a (logical_type_id, ACE_TRY_ENV);
+}
+
+
+POA_PortableInterceptor::ServerRequestInterceptor_ptr POA_PortableInterceptor::_tao_direct_collocated_ServerRequestInterceptor::_get_servant (void) const
+{
+ return this->servant_;
+}
+
+CORBA::Boolean POA_PortableInterceptor::_tao_direct_collocated_ServerRequestInterceptor::_non_existent(
+ CORBA_Environment &ACE_TRY_ENV
+ )
+
+{
+ return this->servant_->_non_existent (ACE_TRY_ENV);
+}
+
+
+void POA_PortableInterceptor::_tao_direct_collocated_ServerRequestInterceptor::preinvoke (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->servant_->preinvoke (
+ ri,
+ ck
+ );
+
+}
+
+void POA_PortableInterceptor::_tao_direct_collocated_ServerRequestInterceptor::postinvoke (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->servant_->postinvoke (
+ ri,
+ ck
+ );
+
+}
+
+void POA_PortableInterceptor::_tao_direct_collocated_ServerRequestInterceptor::exception_occurred (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->servant_->exception_occurred (
+ ri,
+ ck
+ );
+
+}
+
+
+
+// skeleton constructor
+POA_PortableInterceptor::ClientRequestInterceptor::ClientRequestInterceptor (void)
+{
+
+}
+
+// skeleton destructor
+POA_PortableInterceptor::ClientRequestInterceptor::~ClientRequestInterceptor (void)
+{
+}
+
+CORBA::Boolean POA_PortableInterceptor::ClientRequestInterceptor::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:TAO/PortableInterceptor/ClientRequestInterceptor:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:TAO/PortableInterceptor/Interceptor:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_PortableInterceptor::ClientRequestInterceptor::_downcast (
+ const char* logical_type_id
+ )
+{
+if (ACE_OS::strcmp (logical_type_id, "IDL:TAO/PortableInterceptor/ClientRequestInterceptor:1.0") == 0)
+ return ACE_static_cast (POA_PortableInterceptor::ClientRequestInterceptor_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:TAO/PortableInterceptor/Interceptor:1.0") == 0)
+ return ACE_static_cast (POA_PortableInterceptor::Interceptor_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+const char* POA_PortableInterceptor::ClientRequestInterceptor::_interface_repository_id (void) const
+{
+ return "IDL:TAO/PortableInterceptor/ClientRequestInterceptor:1.0";
+}
+
+PortableInterceptor::ClientRequestInterceptor*
+POA_PortableInterceptor::ClientRequestInterceptor::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+ return new POA_PortableInterceptor::_tao_direct_collocated_ClientRequestInterceptor (this, stub);
+}
+
+POA_PortableInterceptor::_tao_direct_collocated_ClientRequestInterceptor::_tao_direct_collocated_ClientRequestInterceptor (
+ POA_PortableInterceptor::ClientRequestInterceptor_ptr servant,
+ TAO_Stub *stub
+ )
+ : ACE_NESTED_CLASS (PortableInterceptor,ClientRequestInterceptor) (),
+ ACE_NESTED_CLASS (POA_PortableInterceptor,_tao_direct_collocated_Interceptor) (servant, stub),
+ CORBA_Object (stub, servant, 1),
+ servant_ (servant)
+{
+}
+
+CORBA::Boolean POA_PortableInterceptor::_tao_direct_collocated_ClientRequestInterceptor::_is_a(
+ const CORBA::Char *logical_type_id,
+ CORBA_Environment &ACE_TRY_ENV
+ )
+
+{
+ return this->servant_->_is_a (logical_type_id, ACE_TRY_ENV);
+}
+
+
+POA_PortableInterceptor::ClientRequestInterceptor_ptr POA_PortableInterceptor::_tao_direct_collocated_ClientRequestInterceptor::_get_servant (void) const
+{
+ return this->servant_;
+}
+
+CORBA::Boolean POA_PortableInterceptor::_tao_direct_collocated_ClientRequestInterceptor::_non_existent(
+ CORBA_Environment &ACE_TRY_ENV
+ )
+
+{
+ return this->servant_->_non_existent (ACE_TRY_ENV);
+}
+
+
+void POA_PortableInterceptor::_tao_direct_collocated_ClientRequestInterceptor::preinvoke (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->servant_->preinvoke (
+ ri,
+ ck
+ );
+
+}
+
+void POA_PortableInterceptor::_tao_direct_collocated_ClientRequestInterceptor::postinvoke (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->servant_->postinvoke (
+ ri,
+ ck
+ );
+
+}
+
+void POA_PortableInterceptor::_tao_direct_collocated_ClientRequestInterceptor::exception_occurred (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->servant_->exception_occurred (
+ ri,
+ ck
+ );
+
+}
diff --git a/TAO/tao/InterceptorS.h b/TAO/tao/InterceptorS.h
new file mode 100644
index 00000000000..e54b9aa0a7e
--- /dev/null
+++ b/TAO/tao/InterceptorS.h
@@ -0,0 +1,581 @@
+/* $Id$ -*- C++ -*- */
+
+// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
+// TAO and the TAO IDL Compiler have been developed by the Center for
+// Distributed Object Computing at Washington University, St. Louis.
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef _TAO_IDL_INTERCEPTORS_H_
+#define _TAO_IDL_INTERCEPTORS_H_
+
+#include "InterceptorC.h"
+
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#if defined(_MSC_VER)
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+TAO_NAMESPACE POA_PortableInterceptor
+{
+ class Cookie;
+ typedef Cookie *Cookie_ptr;
+ class TAO_Export Cookie : public virtual TAO_Local_ServantBase
+ {
+ protected:
+ Cookie (void);
+
+ public:
+ virtual ~Cookie (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ PortableInterceptor::Cookie *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual char * myname (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+
+ };
+
+
+#if !defined (_PORTABLEINTERCEPTOR_COOKIE___DIRECT_COLLOCATED_SH_)
+#define _PORTABLEINTERCEPTOR_COOKIE___DIRECT_COLLOCATED_SH_
+
+ class TAO_Export _tao_direct_collocated_Cookie : public virtual PortableInterceptor::Cookie
+ {
+ public:
+ _tao_direct_collocated_Cookie (
+ Cookie_ptr servant,
+ TAO_Stub *stub
+ );
+ virtual CORBA::Boolean _is_a(
+ const CORBA::Char *logical_type_id,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+ Cookie_ptr _get_servant (void) const;
+
+ virtual CORBA::Boolean _non_existent(
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+ virtual char * myname (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+
+ private:
+ Cookie_ptr servant_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+ class RequestInfo;
+ typedef RequestInfo *RequestInfo_ptr;
+ class TAO_Export RequestInfo : public virtual TAO_Local_ServantBase
+ {
+ protected:
+ RequestInfo (void);
+
+ public:
+ virtual ~RequestInfo (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ PortableInterceptor::RequestInfo *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::ULong get_request_id (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::Boolean response_expected (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual IOP::ServiceContextList * get_service_contexts (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::Boolean set_service_contexts (
+ const IOP::ServiceContextList & sc
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::Object_ptr get_object (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual char * get_operation (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::NVList_ptr get_arguments (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual CORBA::Boolean set_arguments (
+ CORBA::NVList_ptr args
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+
+ };
+
+
+#if !defined (_PORTABLEINTERCEPTOR_REQUESTINFO___DIRECT_COLLOCATED_SH_)
+#define _PORTABLEINTERCEPTOR_REQUESTINFO___DIRECT_COLLOCATED_SH_
+
+ class TAO_Export _tao_direct_collocated_RequestInfo : public virtual PortableInterceptor::RequestInfo
+ {
+ public:
+ _tao_direct_collocated_RequestInfo (
+ RequestInfo_ptr servant,
+ TAO_Stub *stub
+ );
+ virtual CORBA::Boolean _is_a(
+ const CORBA::Char *logical_type_id,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+ RequestInfo_ptr _get_servant (void) const;
+
+ virtual CORBA::Boolean _non_existent(
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+ virtual CORBA::ULong get_request_id (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Boolean response_expected (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IOP::ServiceContextList * get_service_contexts (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Boolean set_service_contexts (
+ const IOP::ServiceContextList & sc
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Object_ptr get_object (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual char * get_operation (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::NVList_ptr get_arguments (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Boolean set_arguments (
+ CORBA::NVList_ptr args
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+
+ private:
+ RequestInfo_ptr servant_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+ class Interceptor;
+ typedef Interceptor *Interceptor_ptr;
+ class TAO_Export Interceptor : public virtual TAO_Local_ServantBase
+ {
+ protected:
+ Interceptor (void);
+
+ public:
+ virtual ~Interceptor (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ PortableInterceptor::Interceptor *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual char * name (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+
+ };
+
+
+#if !defined (_PORTABLEINTERCEPTOR_INTERCEPTOR___DIRECT_COLLOCATED_SH_)
+#define _PORTABLEINTERCEPTOR_INTERCEPTOR___DIRECT_COLLOCATED_SH_
+
+ class TAO_Export _tao_direct_collocated_Interceptor : public virtual PortableInterceptor::Interceptor
+ {
+ public:
+ _tao_direct_collocated_Interceptor (
+ Interceptor_ptr servant,
+ TAO_Stub *stub
+ );
+ virtual CORBA::Boolean _is_a(
+ const CORBA::Char *logical_type_id,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+ Interceptor_ptr _get_servant (void) const;
+
+ virtual CORBA::Boolean _non_existent(
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+ virtual char * name (
+
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+
+ private:
+ Interceptor_ptr servant_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+ class ServerRequestInterceptor;
+ typedef ServerRequestInterceptor *ServerRequestInterceptor_ptr;
+ class TAO_Export ServerRequestInterceptor : public virtual Interceptor
+ {
+ protected:
+ ServerRequestInterceptor (void);
+
+ public:
+ virtual ~ServerRequestInterceptor (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ PortableInterceptor::ServerRequestInterceptor *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual void preinvoke (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual void postinvoke (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual void exception_occurred (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+
+ };
+
+
+#if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___DIRECT_COLLOCATED_SH_)
+#define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___DIRECT_COLLOCATED_SH_
+
+ class TAO_Export _tao_direct_collocated_ServerRequestInterceptor : public virtual PortableInterceptor::ServerRequestInterceptor,
+ public virtual _tao_direct_collocated_Interceptor
+ {
+ public:
+ _tao_direct_collocated_ServerRequestInterceptor (
+ ServerRequestInterceptor_ptr servant,
+ TAO_Stub *stub
+ );
+ virtual CORBA::Boolean _is_a(
+ const CORBA::Char *logical_type_id,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+ ServerRequestInterceptor_ptr _get_servant (void) const;
+
+ virtual CORBA::Boolean _non_existent(
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+ virtual void preinvoke (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void postinvoke (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void exception_occurred (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+
+ private:
+ ServerRequestInterceptor_ptr servant_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+ class ClientRequestInterceptor;
+ typedef ClientRequestInterceptor *ClientRequestInterceptor_ptr;
+ class TAO_Export ClientRequestInterceptor : public virtual Interceptor
+ {
+ protected:
+ ClientRequestInterceptor (void);
+
+ public:
+ virtual ~ClientRequestInterceptor (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ PortableInterceptor::ClientRequestInterceptor *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual void preinvoke (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual void postinvoke (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual void exception_occurred (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+
+ };
+
+
+#if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___DIRECT_COLLOCATED_SH_)
+#define _PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___DIRECT_COLLOCATED_SH_
+
+ class TAO_Export _tao_direct_collocated_ClientRequestInterceptor : public virtual PortableInterceptor::ClientRequestInterceptor,
+ public virtual _tao_direct_collocated_Interceptor
+ {
+ public:
+ _tao_direct_collocated_ClientRequestInterceptor (
+ ClientRequestInterceptor_ptr servant,
+ TAO_Stub *stub
+ );
+ virtual CORBA::Boolean _is_a(
+ const CORBA::Char *logical_type_id,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+ ClientRequestInterceptor_ptr _get_servant (void) const;
+
+ virtual CORBA::Boolean _non_existent(
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+ virtual void preinvoke (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void postinvoke (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void exception_occurred (
+ PortableInterceptor::RequestInfo_ptr & ri,
+ PortableInterceptor::Cookies & ck
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+
+ private:
+ ClientRequestInterceptor_ptr servant_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+}
+TAO_NAMESPACE_CLOSE
+
+#if defined(_MSC_VER)
+#pragma warning(default:4250)
+#endif /* _MSC_VER */
+
+#endif /* ifndef */
diff --git a/TAO/tao/TAO.dsp b/TAO/tao/TAO.dsp
index 4c6092847de..4abe4793cdc 100644
--- a/TAO/tao/TAO.dsp
+++ b/TAO/tao/TAO.dsp
@@ -8,30 +8,26 @@
CFG=TAO DLL - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
-!MESSAGE
+!MESSAGE
!MESSAGE NMAKE /f "TAO.mak".
-!MESSAGE
+!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
+!MESSAGE
!MESSAGE NMAKE /f "TAO.mak" CFG="TAO DLL - Win32 Debug"
-!MESSAGE
+!MESSAGE
!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "TAO DLL - Win32 Release" (based on\
- "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+!MESSAGE "TAO DLL - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "TAO DLL - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "TAO DLL - Win32 Alpha Release" (based on\
- "Win32 (ALPHA) Dynamic-Link Library")
-!MESSAGE "TAO DLL - Win32 Alpha Debug" (based on\
- "Win32 (ALPHA) Dynamic-Link Library")
-!MESSAGE "TAO DLL - Win32 MFC Debug" (based on\
- "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "TAO DLL - Win32 MFC Release" (based on\
- "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
+!MESSAGE "TAO DLL - Win32 Alpha Release" (based on "Win32 (ALPHA) Dynamic-Link Library")
+!MESSAGE "TAO DLL - Win32 Alpha Debug" (based on "Win32 (ALPHA) Dynamic-Link Library")
+!MESSAGE "TAO DLL - Win32 MFC Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "TAO DLL - Win32 MFC Release" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
# Begin Project
+# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath "Desktop"
@@ -110,12 +106,12 @@ LINK32=link.exe
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
-MTL=midl.exe
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o /win32 "NUL"
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o /win32 "NUL"
CPP=cl.exe
# ADD BASE CPP /Gt0 /I "../" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "TAO_BUILD_DLL" /FD nologo MT Gt0 W3 GX O2 I "../../" /c
# ADD CPP /nologo /MD /Gt0 /W3 /GX /O2 /I "../../" /I "../" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "TAO_BUILD_DLL" /FD /c
+MTL=midl.exe
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o /win32 "NUL"
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o /win32 "NUL"
RSC=rc.exe
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
@@ -140,12 +136,12 @@ LINK32=link.exe
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
-MTL=midl.exe
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL"
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL"
CPP=cl.exe
# ADD BASE CPP /Gt0 /I "../" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "TAO_BUILD_DLL" /FD /MTd nologo Gt0 W3 GX Zi Od Gy I "../../" /c
# ADD CPP /nologo /Gt0 /W3 /GX /Zi /Od /Gy /I "../../" /I "../" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "TAO_BUILD_DLL" /FD /MDd /c
+MTL=midl.exe
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL"
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL"
RSC=rc.exe
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
@@ -222,7 +218,7 @@ LINK32=link.exe
# ADD LINK32 acemfc.lib /nologo /subsystem:windows /dll /machine:I386 /out:"..\..\bin\TAOmfc.dll" /libpath:"..\..\ace"
# SUBTRACT LINK32 /incremental:yes
-!ENDIF
+!ENDIF
# Begin Target
@@ -251,7 +247,7 @@ SOURCE=.\Acceptor_Registry.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -270,7 +266,7 @@ SOURCE=.\Active_Object_Map.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -289,7 +285,7 @@ SOURCE=.\Any.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -308,7 +304,7 @@ SOURCE=.\append.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -327,7 +323,7 @@ SOURCE=.\Asynch_Invocation.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -346,7 +342,7 @@ SOURCE=.\CDR.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -365,7 +361,7 @@ SOURCE=.\CDR_Interpreter.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -384,7 +380,7 @@ SOURCE=.\Client_Strategy_Factory.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -403,7 +399,7 @@ SOURCE=.\Connector_Registry.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -422,7 +418,7 @@ SOURCE=.\Context.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -441,7 +437,7 @@ SOURCE=.\CONV_FRAMEC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -460,7 +456,7 @@ SOURCE=.\CONV_FRAMES.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -479,7 +475,7 @@ SOURCE=.\corbafwd.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -498,7 +494,7 @@ SOURCE=.\CurrentC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -517,7 +513,7 @@ SOURCE=.\CurrentS.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -536,7 +532,7 @@ SOURCE=.\debug.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -555,7 +551,7 @@ SOURCE=.\decode.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -574,7 +570,7 @@ SOURCE=.\deep_free.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -593,7 +589,7 @@ SOURCE=.\default_client.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -612,7 +608,7 @@ SOURCE=.\default_resource.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -631,7 +627,7 @@ SOURCE=.\default_server.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -650,7 +646,7 @@ SOURCE=.\DomainC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -669,7 +665,7 @@ SOURCE=.\DomainS.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -688,7 +684,7 @@ SOURCE=.\DynAny_i.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -707,7 +703,7 @@ SOURCE=.\DynAnyC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -726,7 +722,7 @@ SOURCE=.\DynAnyS.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -745,7 +741,7 @@ SOURCE=.\DynArray_i.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -764,7 +760,7 @@ SOURCE=.\DynEnum_i.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -783,7 +779,7 @@ SOURCE=.\DynSequence_i.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -802,7 +798,7 @@ SOURCE=.\DynStruct_i.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -821,7 +817,7 @@ SOURCE=.\DynUnion_i.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -840,7 +836,7 @@ SOURCE=.\encode.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -859,7 +855,7 @@ SOURCE=.\Environment.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -878,7 +874,7 @@ SOURCE=.\Exception.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -897,7 +893,7 @@ SOURCE=.\Forwarding_Servant.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -916,7 +912,7 @@ SOURCE=.\GIOP.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -935,7 +931,7 @@ SOURCE=.\GIOP_Server_Request.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -954,7 +950,7 @@ SOURCE=.\IIOP_Acceptor.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -973,7 +969,7 @@ SOURCE=.\IIOP_Connect.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -992,7 +988,7 @@ SOURCE=.\IIOP_Connector.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1011,7 +1007,7 @@ SOURCE=.\IIOP_Factory.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1030,7 +1026,7 @@ SOURCE=.\IIOP_Profile.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1049,7 +1045,7 @@ SOURCE=.\IIOP_Transport.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1068,7 +1064,45 @@ SOURCE=.\InconsistentTypeCodeC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
+
+# End Source File
+# Begin Source File
+
+SOURCE=.\InterceptorC.cpp
+
+!IF "$(CFG)" == "TAO DLL - Win32 Release"
+
+!ELSEIF "$(CFG)" == "TAO DLL - Win32 Debug"
+
+!ELSEIF "$(CFG)" == "TAO DLL - Win32 Alpha Release"
+
+!ELSEIF "$(CFG)" == "TAO DLL - Win32 Alpha Debug"
+
+!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Debug"
+
+!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
+
+!ENDIF
+
+# End Source File
+# Begin Source File
+
+SOURCE=.\InterceptorS.cpp
+
+!IF "$(CFG)" == "TAO DLL - Win32 Release"
+
+!ELSEIF "$(CFG)" == "TAO DLL - Win32 Debug"
+
+!ELSEIF "$(CFG)" == "TAO DLL - Win32 Alpha Release"
+
+!ELSEIF "$(CFG)" == "TAO DLL - Win32 Alpha Debug"
+
+!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Debug"
+
+!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
+
+!ENDIF
# End Source File
# Begin Source File
@@ -1087,7 +1121,7 @@ SOURCE=.\InterfaceC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1106,7 +1140,7 @@ SOURCE=.\Invocation.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1125,7 +1159,7 @@ SOURCE=.\IOPC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1144,7 +1178,7 @@ SOURCE=.\IOPS.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1163,7 +1197,7 @@ SOURCE=.\IOR_LookupTable.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1182,7 +1216,7 @@ SOURCE=.\IORC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1201,7 +1235,7 @@ SOURCE=.\IORManipulation.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1220,7 +1254,7 @@ SOURCE=.\IORS.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1239,7 +1273,7 @@ SOURCE=.\Key_Adapters.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1258,7 +1292,7 @@ SOURCE=.\Managed_Types.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1277,7 +1311,7 @@ SOURCE=.\Marshal.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1296,7 +1330,7 @@ SOURCE=.\Messaging_Policy_i.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1315,7 +1349,7 @@ SOURCE=.\MessagingC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1334,7 +1368,7 @@ SOURCE=.\MessagingS.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1353,7 +1387,7 @@ SOURCE=.\MProfile.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1372,7 +1406,7 @@ SOURCE=.\NVList.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1391,7 +1425,7 @@ SOURCE=.\Object.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1410,7 +1444,7 @@ SOURCE=.\Object_Adapter.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1429,7 +1463,7 @@ SOURCE=.\Object_KeyC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1448,7 +1482,7 @@ SOURCE=.\ObjectIDList.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1467,7 +1501,7 @@ SOURCE=.\Operation_Table.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1486,7 +1520,7 @@ SOURCE=.\ORB.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1505,7 +1539,7 @@ SOURCE=.\ORB_Core.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1524,7 +1558,7 @@ SOURCE=.\params.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1543,7 +1577,7 @@ SOURCE=.\Pluggable.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1562,7 +1596,7 @@ SOURCE=.\POA.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1581,7 +1615,7 @@ SOURCE=.\POAC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1600,7 +1634,7 @@ SOURCE=.\POAManager.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1619,7 +1653,7 @@ SOURCE=.\POAS.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1638,7 +1672,7 @@ SOURCE=.\Policy_Manager.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1657,7 +1691,7 @@ SOURCE=.\PolicyC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1676,7 +1710,7 @@ SOURCE=.\PolicyS.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1695,7 +1729,7 @@ SOURCE=.\PollableC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1714,7 +1748,7 @@ SOURCE=.\PollableS.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1733,7 +1767,7 @@ SOURCE=.\Principal.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1752,7 +1786,7 @@ SOURCE=.\Protocol_Factory.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1771,7 +1805,7 @@ SOURCE=.\Reply_Dispatcher.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1790,7 +1824,7 @@ SOURCE=.\Request.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1809,7 +1843,7 @@ SOURCE=.\Resource_Factory.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1828,7 +1862,7 @@ SOURCE=.\Sequence.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1847,7 +1881,7 @@ SOURCE=.\Servant_Base.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1866,7 +1900,7 @@ SOURCE=.\Server_Request.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1885,7 +1919,7 @@ SOURCE=.\Server_Strategy_Factory.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1904,7 +1938,7 @@ SOURCE=.\Services.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1923,7 +1957,7 @@ SOURCE=.\skip.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1942,7 +1976,7 @@ SOURCE=.\Stub.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1961,7 +1995,7 @@ SOURCE=.\Tagged_Components.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1980,7 +2014,7 @@ SOURCE=.\TAO.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -1999,7 +2033,7 @@ SOURCE=.\TAO_Internal.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2018,7 +2052,7 @@ SOURCE=.\TimeBaseC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2037,7 +2071,7 @@ SOURCE=.\TimeBaseS.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2056,7 +2090,7 @@ SOURCE=.\Transport_Mux_Strategy.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2075,7 +2109,7 @@ SOURCE=.\Typecode.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2094,7 +2128,7 @@ SOURCE=.\Typecode_Constants.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2113,7 +2147,7 @@ SOURCE=.\UIOP_Acceptor.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2132,7 +2166,7 @@ SOURCE=.\UIOP_Connect.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2151,7 +2185,7 @@ SOURCE=.\UIOP_Connector.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2170,7 +2204,7 @@ SOURCE=.\UIOP_Factory.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2189,7 +2223,7 @@ SOURCE=.\UIOP_Profile.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2208,7 +2242,7 @@ SOURCE=.\UIOP_Transport.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2227,7 +2261,7 @@ SOURCE=.\Union.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2246,7 +2280,7 @@ SOURCE=.\ValueBase.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2265,7 +2299,7 @@ SOURCE=.\ValueFactory.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2284,7 +2318,7 @@ SOURCE=.\ValueFactory_Map.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2303,7 +2337,7 @@ SOURCE=.\Wait_Strategy.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# Begin Source File
@@ -2322,7 +2356,7 @@ SOURCE=.\WrongTransactionC.cpp
!ELSEIF "$(CFG)" == "TAO DLL - Win32 MFC Release"
-!ENDIF
+!ENDIF
# End Source File
# End Group
@@ -2491,6 +2525,14 @@ SOURCE=.\InconsistentTypeCodeC.h
# End Source File
# Begin Source File
+SOURCE=.\InterceptorC.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\InterceptorS.h
+# End Source File
+# Begin Source File
+
SOURCE=.\InterfaceC.h
# End Source File
# Begin Source File