00001 // -*- IDL -*- 00002 00003 /** 00004 * @file PortableInterceptor.pidl 00005 * 00006 * $Id: PortableInterceptor.pidl 81200 2008-04-01 13:03:30Z johnnyw $ 00007 * 00008 * @brief Pre-compiled IDL source for the PortableInterceptor 00009 * components in the ORB. 00010 * 00011 * This file contains the interface definitions for "Portable" 00012 * Interceptor support. 00013 * The following is from orbos/99-12-02 Portable Interceptors spec, 00014 * the full IDL is downloadable from orbos/99-12-02. 00015 * 00016 * Additional updates from ptc/00-08-05 are also included. Changes 00017 * include: 00018 * - addition of the Interceptor::destroy() method 00019 * - move of CodecFactory and Codec interfaces to the IOP module 00020 * 00021 * This file is used to generate the code in PortableInterceptorC.* 00022 * The command used to generate code is: 00023 * 00024 * tao_idl 00025 * -o orig -Gp -Gd -SS -Sci 00026 * -Wb,export_include="tao/TAO_Export.h" 00027 * -Wb,export_macro=TAO_Export 00028 * -Wb,pre_include="ace/pre.h" 00029 * -Wb,post_include="ace/post.h" 00030 * PortableInterceptor.pidl 00031 */ 00032 00033 // File: PortableInterceptor.idl 00034 #ifndef _PORTABLE_INTERCEPTOR_IDL_ 00035 #define _PORTABLE_INTERCEPTOR_IDL_ 00036 00037 #include "tao/PI_Forward.pidl" 00038 #include "tao/Messaging_SyncScope.pidl" 00039 00040 module PortableInterceptor { 00041 00042 typeprefix PortableInterceptor "omg.org"; 00043 00044 const AdapterState HOLDING = 0; 00045 const AdapterState ACTIVE = 1; 00046 const AdapterState DISCARDING = 2; 00047 const AdapterState INACTIVE = 3; 00048 const AdapterState NON_EXISTENT = 4; 00049 00050 // Valid reply_status values: 00051 const ReplyStatus SUCCESSFUL = 0; 00052 const ReplyStatus SYSTEM_EXCEPTION = 1; 00053 const ReplyStatus USER_EXCEPTION = 2; 00054 const ReplyStatus LOCATION_FORWARD = 3; 00055 const ReplyStatus TRANSPORT_RETRY = 4; 00056 const ReplyStatus UNKNOWN = 5; 00057 }; 00058 00059 #endif /* _PORTABLE_INTERCEPTOR_IDL_ */