summaryrefslogtreecommitdiff
path: root/TAO/tao/Interceptor.pidl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Interceptor.pidl')
-rw-r--r--TAO/tao/Interceptor.pidl117
1 files changed, 0 insertions, 117 deletions
diff --git a/TAO/tao/Interceptor.pidl b/TAO/tao/Interceptor.pidl
deleted file mode 100644
index eb939496f5a..00000000000
--- a/TAO/tao/Interceptor.pidl
+++ /dev/null
@@ -1,117 +0,0 @@
-// -*- IDL -*- $Id$
-
-// This file contains the interface definitions for "Portable"
-// Interceptor support.
-
-// **********************************************************
-// Notice that the Portable Interceptor specification
-// is still under discussion in OMG and both the IDL
-// and the implementation details in TAO will eventually
-// change to conform with the PI spec in the future.
-// **********************************************************
-
-// Author (currently): Nanbor Wang <nanbor@cs.wustl.edu>
-
-#include <corba.pidl>
-#include <IOP.pidl>
-
-#pragma prefix "TAO"
-// The prefix should be changed to "omg.org" once the spec. gets
-// finallized.
-
-module PortableInterceptor
-{
- interface Cookie
- {
- // Cookie's are used to pass information among interceptors
- // within a invocation or an upcall.
- string myname ();
- };
-
- typedef sequence<Cookie> Cookies;
- // Collections of Cookie's become Cookies'es.
-
- interface Interceptor
- {
- // Base interface for Interceptors.
- readonly attribute string name;
- };
-
- interface ServerRequestInterceptor : Interceptor
- {
- // Server side request interceptor definition.
-
- void preinvoke (in unsigned long request_id,
- in boolean response_expected,
- in CORBA::Object objref,
- in string operation_name,
- inout IOP::ServiceContextList sc,
- inout NVList arguments,
- inout Cookies ck);
- // Interception pointer before invoking the servant method.
- // Currently, we don't pass NVList into the interceptor because
- // I haven't figured out how to best optimize this stuff.
- // In the future, NVList will contain all in and inout arguments
- // of the operation.
-
- void postinvoke (in unsigned long request_id,
- in boolean response_expected,
- in CORBA::Object objref,
- in string operation_name,
- inout IOP::ServiceContextList sc,
- inout NVList arguments,
- inout Cookies ck);
- // Interception pointer after invoking the servant method.
- // Currently, we don't pass NVList into the interceptor because
- // I haven't figured out how to best optimize this stuff.
- // In the future, NVList will contain all out, inout arguments
- // and the return value of the operation.
-
- void exception_occurred (in unsigned long request_id,
- in boolean response_expected,
- in CORBA::Object objref,
- in string operation_name,
- inout Cookies ck);
- // Exception interception point.
- };
-
- interface ClientRequestInterceptor : Interceptor
- {
- // Client side interceptor.
-
- void preinvoke (in unsigned long request_id,
- in boolean response_expected,
- in CORBA::Object objref,
- in string operation_name,
- inout IOP::ServiceContextList sc,
- inout NVList arguments,
- inout Cookies ck);
- // Before remote invocation.
- // Currently, we don't pass NVList into the interceptor because
- // I haven't figured out how to best optimize this stuff.
- // In the future, NVList will contain all in and inout arguments
- // of the operation.
-
- void postinvoke (in unsigned long request_id,
- in boolean response_expected,
- in CORBA::Object objref,
- in string operation_name,
- inout IOP::ServiceContextList sc,
- inout NVList arguments,
- inout Cookies ck);
- // After returned from remote invocation.
- // Currently, we don't pass NVList into the interceptor because
- // I haven't figured out how to best optimize this stuff.
- // In the future, NVList will contain all out, inout arguments
- // and the return value of the operation.
-
- void exception_occurred (in unsigned long request_id,
- in boolean response_expected,
- in CORBA::Object objref,
- in string operation_name,
- inout Cookies ck);
- // Exception occurred.
- };
-};
-
-#pragma prefix ""