summaryrefslogtreecommitdiff
path: root/TAO/tao/BiDir_GIOP/BiDir_Policy_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/BiDir_GIOP/BiDir_Policy_i.h')
-rw-r--r--TAO/tao/BiDir_GIOP/BiDir_Policy_i.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/TAO/tao/BiDir_GIOP/BiDir_Policy_i.h b/TAO/tao/BiDir_GIOP/BiDir_Policy_i.h
index 1555b96dc9d..93ef62f6c19 100644
--- a/TAO/tao/BiDir_GIOP/BiDir_Policy_i.h
+++ b/TAO/tao/BiDir_GIOP/BiDir_Policy_i.h
@@ -1,6 +1,4 @@
-/* -*- C++ -*- */
-// $Id$
-//
+// -*- C++ -*-
// ===================================================================
/**
@@ -15,20 +13,22 @@
#ifndef TAO_BIDIR_POLICY_I_H
#define TAO_BIDIR_POLICY_I_H
#include /**/ "ace/pre.h"
-#include "bidirgiop_export.h"
+#include "tao/BiDir_GIOP/bidirgiop_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "BiDirGIOP.h"
+#include "tao/BiDir_GIOP/BiDirGIOP.h"
#include "tao/LocalObject.h"
#if defined(_MSC_VER)
-#pragma warning(push)
-#pragma warning(disable:4250)
+# pragma warning(push)
+# pragma warning(disable:4250)
#endif /* _MSC_VER */
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
/**
* @class TAO_BidirectionalPolicy
*
@@ -38,14 +38,11 @@
* clients can be made bi-directional or not. Further, this policy
* also needs to be set by the server to use the connections
* established by the clients to send requests.
- *
*/
-
-class TAO_BiDirGIOP_Export TAO_BidirectionalPolicy
- : public virtual BiDirPolicy::BidirectionalPolicy,
- public virtual TAO_Local_RefCounted_Object
+class TAO_BidirectionalPolicy
+ : public virtual BiDirPolicy::BidirectionalPolicy
+ , public virtual TAO_Local_RefCounted_Object
{
-
public:
/// Constructor.
@@ -60,7 +57,6 @@ public:
/// = The BiDir::BidirectionalPolicy methods
virtual BiDirPolicy::BidirectionalPolicyValue value (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
-
ACE_THROW_SPEC ((
CORBA::SystemException
));
@@ -75,14 +71,18 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
virtual TAO_Cached_Policy_Type _tao_cached_type (void) const;
+
private:
/// The attribute
BiDirPolicy::BidirectionalPolicyValue value_;
+
};
+TAO_END_VERSIONED_NAMESPACE_DECL
+
#if defined(_MSC_VER)
-#pragma warning(pop)
+# pragma warning(pop)
#endif /* _MSC_VER */
#include /**/ "ace/post.h"