Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Policy.pidl
Package: blacktie-2.0.0.M3-src.zip [view]
Upload User: xfwatch
Upload Date: 2020-12-14
Package Size: 872k
Code Size: 3k
Category:
MiddleWare
Development Platform:
Java
- /**
- * @file Policy.pidl
- *
- * $Id: Policy.pidl,v 1.2 2003/02/25 18:07:24 eas Exp $
- *
- * @brief Pre-compiled IDL source for the CORBA::Policy related
- * classes.
- *
- * This file is used to generate the code in PolicyC.{h,i,cpp}.
- * Also, skeleton code for the only non local Policy interface is
- * generated from this pidl file and then the declaration code is
- * moved to tao/PortableServer/PolicyS.{h,i,cpp}
- *
- * The steps to regenerate the code are as follows:
- *
- * 1. Run the tao_idl compiler on the patched pidl file. The
- * command used for this is:
- *
- * tao_idl.exe
- * -o orig -Gp -Gd -Ge 1 -Gv -DCORBA3
- * -Wb,export_macro=TAO_Export
- * -Wb,export_include="tao/corbafwd.h"
- * -Wb,pre_include="ace/pre.h"
- * -Wb,post_include="ace/post.h"
- * Policy.pidl
- *
- * 2. Then patch the generated code. This patch (a) eliminates
- * cycles in the include dependencies; (b) adds the TAO_Encodable
- * methods to the Policy class; (c) fixes the #includes in the
- * PolicyS.h file.
- *
- * Apply patches using the following commands:
- *
- * cp orig/PolicyC.{h,i,cpp} .
- * cp orig/PolicyS.{h,i,cpp} PortableServer
- * cp orig/PolicyS_T.{h,i,cpp} PortableServer
- * patch < diffs/Policy.diff
- *
- * Note: The diffs were generated with these commands:
- *
- * for i in PolicyC.{h,i,cpp}; do
- * diff -wBbu orig/$i $i;
- * done > diffs/Policy.diff
- * for i in Policy{S,S_T}.{h,i,cpp}; do
- * diff -wBbu orig/$i PortableServer/$i;
- * done >> diffs/Policy.diff
- */
- #ifndef TAO_CORBA_POLICY_PIDL
- #define TAO_CORBA_POLICY_PIDL
- #include <Current.pidl>
- #include <Policy_Forward.pidl>
- #pragma prefix "omg.org"
- module CORBA
- {
- typedef short PolicyErrorCode;
- const PolicyErrorCode BAD_POLICY = 0;
- const PolicyErrorCode UNSUPPORTED_POLICY = 1;
- const PolicyErrorCode BAD_POLICY_TYPE = 2;
- const PolicyErrorCode BAD_POLICY_VALUE = 3;
- const PolicyErrorCode UNSUPPORTED_POLICY_VALUE = 4;
- exception PolicyError
- {
- PolicyErrorCode reason;
- };
- exception InvalidPolicies
- {
- sequence<unsigned short> indices;
- };
- interface Policy
- {
- readonly attribute PolicyType policy_type;
- Policy copy ();
- void destroy ();
- };
- local interface PolicyManager
- {
- PolicyList get_policy_overrides (in PolicyTypeSeq ts);
- void set_policy_overrides (
- in PolicyList policies,
- in SetOverrideType set_add)
- raises (InvalidPolicies);
- };
- local interface PolicyCurrent : PolicyManager, Current
- {
- };
- };
- #pragma prefix ""
- #endif /* TAO_CORBA_POLICY_PIDL */