summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Util.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Util.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Util.h65
1 files changed, 65 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Util.h b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Util.h
new file mode 100644
index 00000000000..15e3e5f1545
--- /dev/null
+++ b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Util.h
@@ -0,0 +1,65 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file SSLIOP_Util.h
+ *
+ * $Id$
+ *
+ * Utility class used by the SSLIOP pluggable protocol.
+ *
+ * @author Ossama Othman <ossama@uci.edu>
+ */
+//=============================================================================
+
+
+#ifndef TAO_SSLIOP_UTIL_H
+#define TAO_SSLIOP_UTIL_H
+
+#include /**/ "ace/pre.h"
+
+#include "ace/config-all.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "orbsvcs/SSLIOP/SSLIOP_Current.h"
+
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+class TAO_ORB_Core;
+class TAO_IIOP_Properties;
+
+namespace TAO
+{
+ namespace SSLIOP
+ {
+ /**
+ * @class Util
+ *
+ * @brief Class that provides utility/helper methods for several
+ * classes in the SSLIOP pluggable protocol.
+ *
+ * Methods useful to many classes in the SSLIOP pluggable protocol
+ * are centrally located in this uility class.
+ */
+ class Util
+ {
+ public:
+
+ /// Access Current.
+ static TAO::SSLIOP::Current_ptr current (
+ TAO_ORB_Core *orb_core);
+
+ };
+
+ } // End SSLIOP namespace.
+} // End TAO namespace.
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#include /**/ "ace/post.h"
+
+#endif /* TAO_SSLIOP_UTIL_H */