summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ConnectionFactory.h
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-08-28 21:21:06 +0000
committerMarc Laukien <marc@zeroc.com>2002-08-28 21:21:06 +0000
commitdfa87a37643a0dc76ac590af86a59ba7e98509ac (patch)
treeec63121861f9ab287ed82bb8e5362a7bbadcd361 /cpp/src/Ice/ConnectionFactory.h
parentcleanup; dynamic factory loading (diff)
downloadice-dfa87a37643a0dc76ac590af86a59ba7e98509ac.tar.bz2
ice-dfa87a37643a0dc76ac590af86a59ba7e98509ac.tar.xz
ice-dfa87a37643a0dc76ac590af86a59ba7e98509ac.zip
some cleanup
Diffstat (limited to 'cpp/src/Ice/ConnectionFactory.h')
-rw-r--r--cpp/src/Ice/ConnectionFactory.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/src/Ice/ConnectionFactory.h b/cpp/src/Ice/ConnectionFactory.h
index 504470002a6..76e56ab21da 100644
--- a/cpp/src/Ice/ConnectionFactory.h
+++ b/cpp/src/Ice/ConnectionFactory.h
@@ -78,7 +78,7 @@ private:
IncomingConnectionFactory(const InstancePtr&, const EndpointPtr&, const ::Ice::ObjectAdapterPtr&);
virtual ~IncomingConnectionFactory();
void destroy();
- void waitUntilFinished();
+ void waitUntilFinished() const;
friend class ::Ice::ObjectAdapterI;
enum State
@@ -92,14 +92,14 @@ private:
void registerWithPool();
void unregisterWithPool();
- EndpointPtr _endpoint;
- ::Ice::ObjectAdapterPtr _adapter;
- AcceptorPtr _acceptor;
- TransceiverPtr _transceiver;
- ThreadPoolPtr _serverThreadPool;
+ const EndpointPtr _endpoint;
+ ::Ice::ObjectAdapterPtr _adapter; // Cannot be const, because it must be set to zero to break cyclic dependency.
+ const AcceptorPtr _acceptor;
+ const TransceiverPtr _transceiver;
+ const ThreadPoolPtr _serverThreadPool;
+ const bool _warn;
std::list<ConnectionPtr> _connections;
State _state;
- bool _warn;
bool _registeredWithPool;
};