summaryrefslogtreecommitdiff
path: root/TAO/tao/PolicyC.h
diff options
context:
space:
mode:
authormarina <marina@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-06-08 05:51:59 +0000
committermarina <marina@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-06-08 05:51:59 +0000
commit5f2d5d1f9ba6d687901a7644371acb0760dc8629 (patch)
treee0c066a0ae145dec1c0e33aaed71e65deb588328 /TAO/tao/PolicyC.h
parentbd4883133487623def1a3ff05697bc5b490905d7 (diff)
downloadATCD-5f2d5d1f9ba6d687901a7644371acb0760dc8629.tar.gz
ChangeLogTag:Thu Jun 8 00:16:51 2000 Marina Spivak <marina@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/PolicyC.h')
-rw-r--r--TAO/tao/PolicyC.h21
1 files changed, 7 insertions, 14 deletions
diff --git a/TAO/tao/PolicyC.h b/TAO/tao/PolicyC.h
index a0ed8a4c9ca..63b434a938c 100644
--- a/TAO/tao/PolicyC.h
+++ b/TAO/tao/PolicyC.h
@@ -23,7 +23,6 @@
#include "tao/Exception.h"
#include "tao/Sequence.h"
-
#include "tao/Encodable.h"
class TAO_Export CORBA_PolicyError : public CORBA::UserException
@@ -206,23 +205,17 @@ public:
);
virtual const char* _interface_repository_id (void) const;
-
- // The following methods are overloaded from Serializable
- // and are necessary to stream the contents of the policy
- // so that it is possible to externalize their contents
- // and embedd it, for example, in the IOR.
- // The following method are not part of the standard CORBA::Policy
- // interface, but are used by the ORB to ship the policy between
- // client and server and vice-versa.
+ // The following methods are used for embedding client-exposed
+ // policies into an IOR. These methods are not part of the idl
+ // compiler generated code: they were added by hand.
virtual CORBA::Boolean _tao_encode (TAO_OutputCDR &out_cdr);
- // Encode the Policy into a CDR representation.
+ // Encode the Policy into a CDR representation. Returns true on
+ // success and false on failure.
virtual CORBA::Boolean _tao_decode (TAO_InputCDR &in_cdr);
- // Decode the Policy from a CDR representation. If the CDR
- // given has the wrong format than the method will return
- // false.
-
+ // Decode the Policy from a CDR representation.
+ // Returns true on success and false on failure.
protected:
CORBA_Policy (void); // default constructor