00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file SSLIOP_Util.h 00006 * 00007 * SSLIOP_Util.h,v 1.6 2006/03/14 06:14:35 jtc Exp 00008 * 00009 * Utility class used by the SSLIOP pluggable protocol. 00010 * 00011 * @author Ossama Othman <ossama@uci.edu> 00012 */ 00013 //============================================================================= 00014 00015 00016 #ifndef TAO_SSLIOP_UTIL_H 00017 #define TAO_SSLIOP_UTIL_H 00018 00019 #include /**/ "ace/pre.h" 00020 00021 #include "ace/config-all.h" 00022 00023 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00024 # pragma once 00025 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00026 00027 #include "orbsvcs/SSLIOP/SSLIOP_Current.h" 00028 00029 00030 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00031 00032 class TAO_ORB_Core; 00033 class TAO_IIOP_Properties; 00034 00035 namespace TAO 00036 { 00037 namespace SSLIOP 00038 { 00039 /** 00040 * @class Util 00041 * 00042 * @brief Class that provides utility/helper methods for several 00043 * classes in the SSLIOP pluggable protocol. 00044 * 00045 * Methods useful to many classes in the SSLIOP pluggable protocol 00046 * are centrally located in this uility class. 00047 */ 00048 class Util 00049 { 00050 public: 00051 00052 /// Access Current. 00053 static TAO::SSLIOP::Current_ptr current ( 00054 TAO_ORB_Core *orb_core); 00055 00056 }; 00057 00058 } // End SSLIOP namespace. 00059 } // End TAO namespace. 00060 00061 TAO_END_VERSIONED_NAMESPACE_DECL 00062 00063 #include /**/ "ace/post.h" 00064 00065 #endif /* TAO_SSLIOP_UTIL_H */