summaryrefslogtreecommitdiff
path: root/TAO/tao/Interceptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Interceptor.cpp')
-rw-r--r--TAO/tao/Interceptor.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/TAO/tao/Interceptor.cpp b/TAO/tao/Interceptor.cpp
new file mode 100644
index 00000000000..04982ef46e6
--- /dev/null
+++ b/TAO/tao/Interceptor.cpp
@@ -0,0 +1,25 @@
+// $Id$
+
+
+#include "tao/corbafwd.h"
+#include "tao/Interceptor.h"
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+
+#if !defined (__ACE_INLINE__)
+#include "tao/Interceptor.i"
+#endif /* defined INLINE */
+
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
+// Followings are the defualt no-op implementation of client-side and
+// server-side interceptors. The sole purpose to to let user
+// overwrite only the interception operations they are interested in
+// without providing others.
+
+// ** Users should always provide a name by dupping a string.
+// char * POA_PortableInterceptor::
+// Interceptor::name (CORBA::Environment &)
+// {
+// return CORBA::string_dup ("TAO default");
+// }