diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-11-02 07:13:04 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-11-02 07:13:04 +0000 |
commit | ef90f48326d00ec9fcb44bc43ac249e4617d7cb7 (patch) | |
tree | 52300a84c07910ff7f95f76d7b2820c1a4b59606 /TAO/tao/IIOP_Factory.cpp | |
parent | 681f78f9142968f31054464967191979d51af69b (diff) | |
download | ATCD-ef90f48326d00ec9fcb44bc43ac249e4617d7cb7.tar.gz |
ChangeLogTag:Tue Nov 1 14:49:40 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/IIOP_Factory.cpp')
-rw-r--r-- | TAO/tao/IIOP_Factory.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/TAO/tao/IIOP_Factory.cpp b/TAO/tao/IIOP_Factory.cpp index 852fde2c935..8f2baeba879 100644 --- a/TAO/tao/IIOP_Factory.cpp +++ b/TAO/tao/IIOP_Factory.cpp @@ -11,7 +11,9 @@ ACE_RCSID (tao, "$Id$") -static const char prefix_[] = "iiop"; +static const char the_prefix[] = "iiop"; + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_IIOP_Protocol_Factory::TAO_IIOP_Protocol_Factory (void) : TAO_Protocol_Factory (IOP::TAG_INTERNET_IOP), @@ -28,13 +30,13 @@ int TAO_IIOP_Protocol_Factory::match_prefix (const ACE_CString &prefix) { // Check for the proper prefix for this protocol. - return (ACE_OS::strcasecmp (prefix.c_str (), ::prefix_) == 0); + return (ACE_OS::strcasecmp (prefix.c_str (), ::the_prefix) == 0); } const char * TAO_IIOP_Protocol_Factory::prefix (void) const { - return ::prefix_; + return ::the_prefix; } char @@ -79,6 +81,8 @@ TAO_IIOP_Protocol_Factory::requires_explicit_endpoint (void) const return 0; } +TAO_END_VERSIONED_NAMESPACE_DECL + ACE_STATIC_SVC_DEFINE (TAO_IIOP_Protocol_Factory, ACE_TEXT ("IIOP_Factory"), ACE_SVC_OBJ_T, |