summaryrefslogtreecommitdiff
path: root/TAO/tao/Profile.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2000-11-15 09:51:20 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2000-11-15 09:51:20 +0000
commit5a0aa7977984dd14743828bac44c6f714df4cdfb (patch)
treebc503438a236f5faf4f2e52e142c0a87d8458baf /TAO/tao/Profile.h
parent674ec81a9b9443c976d9b13800abac891b321f82 (diff)
downloadATCD-5a0aa7977984dd14743828bac44c6f714df4cdfb.tar.gz
ChangeLogTag:Wed Nov 15 01:48:29 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/Profile.h')
-rw-r--r--TAO/tao/Profile.h27
1 files changed, 21 insertions, 6 deletions
diff --git a/TAO/tao/Profile.h b/TAO/tao/Profile.h
index 2e10a076b39..963b835aba4 100644
--- a/TAO/tao/Profile.h
+++ b/TAO/tao/Profile.h
@@ -18,15 +18,15 @@
#define TAO_PROFILE_H
#include "ace/pre.h"
-#include "tao/corbafwd.h"
+#include "corbafwd.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "tao/Tagged_Components.h"
-#include "tao/PolicyC.h"
-#include "tao/GIOP_Message_State.h"
+#include "Tagged_Components.h"
+#include "PolicyC.h"
+#include "GIOP_Message_State.h"
class TAO_MProfile;
class TAO_Stub;
@@ -55,7 +55,7 @@ public:
CORBA::ULong tag (void) const;
// The tag, each concrete class will have a specific tag value.
- const TAO_GIOP_Version& version (void) const;
+ const TAO_GIOP_Version &version (void) const;
// Return a pointer to this profile's version. This object
// maintains ownership.
@@ -80,6 +80,10 @@ public:
// Access the tagged components, notice that they they could be
// empty (or ignored) for non-GIOP protocols (and even for GIOP-1.0)
+ /// Add the given tagged component to the profile.
+ void add_tagged_component (const IOP::TaggedComponent &component,
+ CORBA::Environment &ACE_TRY_ENV);
+
virtual char object_key_delimiter (void) const = 0;
// The object key delimiter.
@@ -149,14 +153,24 @@ public:
// Gets the TAO_MProfile that holds the TAO_Profile instance.
private:
+
TAO_MProfile *forward_to_i (void);
// this object keeps ownership of this object
+ /// Verify that the current ORB's configuration supports tagged
+ /// components in IORs.
+ void verify_orb_configuration (CORBA::Environment &ACE_TRY_ENV);
+
+ /// Verify that the given profile supports tagged components,
+ /// i.e. is not a GIOP 1.0 profile.
+ void verify_profile_version (CORBA::Environment &ACE_TRY_ENV);
+
// Profiles should not be copied!
ACE_UNIMPLEMENTED_FUNC (TAO_Profile (const TAO_Profile&))
ACE_UNIMPLEMENTED_FUNC (void operator= (const TAO_Profile&))
protected:
+
TAO_GIOP_Version version_;
// IIOP version number.
@@ -181,6 +195,7 @@ protected:
private:
+
CORBA::ULong tag_;
// IOP protocol tag.
@@ -241,7 +256,7 @@ private:
};
#if defined (__ACE_INLINE__)
-# include "tao/Profile.i"
+# include "Profile.i"
#endif /* __ACE_INLINE__ */
#include "ace/post.h"