summaryrefslogtreecommitdiff
path: root/cppe/src
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-07-11 17:51:29 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-07-11 17:51:29 +0000
commit6276e8a9b98bd8b5f5f2de7df845b06c084079c8 (patch)
tree4a64ace04362ca1974db424fd2014684039b8e33 /cppe/src
parentFixed warning (diff)
downloadice-6276e8a9b98bd8b5f5f2de7df845b06c084079c8.tar.bz2
ice-6276e8a9b98bd8b5f5f2de7df845b06c084079c8.tar.xz
ice-6276e8a9b98bd8b5f5f2de7df845b06c084079c8.zip
Added IceE.Warn.Endpoints
Diffstat (limited to 'cppe/src')
-rw-r--r--cppe/src/IceE/PropertyNames.cpp4
-rw-r--r--cppe/src/IceE/PropertyNames.h2
-rw-r--r--cppe/src/IceE/ReferenceFactory.cpp4
3 files changed, 6 insertions, 4 deletions
diff --git a/cppe/src/IceE/PropertyNames.cpp b/cppe/src/IceE/PropertyNames.cpp
index cfa64d9e36e..b7a5f4c0161 100644
--- a/cppe/src/IceE/PropertyNames.cpp
+++ b/cppe/src/IceE/PropertyNames.cpp
@@ -7,7 +7,7 @@
//
// **********************************************************************
-// Generated by makeprops.py from file `../config/PropertyNames.def', Wed Jul 6 12:01:24 2005
+// Generated by makeprops.py from file `../config/PropertyNames.def', Mon Jul 11 15:46:09 2005
// IMPORTANT: Do not edit this file -- any edits made here will be lost!
@@ -22,7 +22,6 @@ const char* IceInternal::PropertyNames::IceEProps[] =
"IceE.Default.Package",
"IceE.Default.Protocol",
"IceE.Default.Router",
- "IceE.Logger.Timestamp",
"IceE.MessageSizeMax",
"IceE.NullHandleAbort",
"IceE.Override.ConnectTimeout",
@@ -43,6 +42,7 @@ const char* IceInternal::PropertyNames::IceEProps[] =
"IceE.Trace.Slicing",
"IceE.Warn.Connections",
"IceE.Warn.Dispatch",
+ "IceE.Warn.Endpoints",
"IceE.Warn.Leaks",
0
};
diff --git a/cppe/src/IceE/PropertyNames.h b/cppe/src/IceE/PropertyNames.h
index f14cac0d654..388ffd38820 100644
--- a/cppe/src/IceE/PropertyNames.h
+++ b/cppe/src/IceE/PropertyNames.h
@@ -7,7 +7,7 @@
//
// **********************************************************************
-// Generated by makeprops.py from file `../config/PropertyNames.def', Wed Jul 6 12:01:24 2005
+// Generated by makeprops.py from file `../config/PropertyNames.def', Mon Jul 11 15:46:09 2005
// IMPORTANT: Do not edit this file -- any edits made here will be lost!
diff --git a/cppe/src/IceE/ReferenceFactory.cpp b/cppe/src/IceE/ReferenceFactory.cpp
index 1a2af0fe1f9..5efcc179427 100644
--- a/cppe/src/IceE/ReferenceFactory.cpp
+++ b/cppe/src/IceE/ReferenceFactory.cpp
@@ -21,6 +21,7 @@
#include <IceE/BasicStream.h>
#include <IceE/StringUtil.h>
#include <IceE/LoggerUtil.h>
+#include <IceE/Properties.h>
using namespace std;
using namespace Ice;
@@ -440,7 +441,8 @@ IceInternal::ReferenceFactory::create(const string& str)
ex.str = unknownEndpoints.front();
throw ex;
}
- else if(unknownEndpoints.size() != 0)
+ else if(unknownEndpoints.size() != 0 &&
+ _instance->properties()->getPropertyAsIntWithDefault("IceE.Warn.Endpoints", 1) > 0)
{
Warning out(_instance->logger());
out << "Proxy contains unknown endpoints:";