diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-09-07 05:40:22 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-09-07 05:40:22 +0000 |
commit | c943fb0d16b7c9edcfbd20199126544bc65ddf7b (patch) | |
tree | 5017a9c8a031e1999a5b985d9d9d22189cb6de8b /cppe/src/IceE/Reference.h | |
parent | Changed version to 3.0.0. Fixed a few places where we could clean up (diff) | |
download | ice-c943fb0d16b7c9edcfbd20199126544bc65ddf7b.tar.bz2 ice-c943fb0d16b7c9edcfbd20199126544bc65ddf7b.tar.xz ice-c943fb0d16b7c9edcfbd20199126544bc65ddf7b.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=448
Diffstat (limited to 'cppe/src/IceE/Reference.h')
-rw-r--r-- | cppe/src/IceE/Reference.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/cppe/src/IceE/Reference.h b/cppe/src/IceE/Reference.h index 74c70073adc..2b4d00393c5 100644 --- a/cppe/src/IceE/Reference.h +++ b/cppe/src/IceE/Reference.h @@ -108,12 +108,14 @@ public: protected: - Reference(const InstancePtr&, const Ice::Identity&, const Ice::Context&, const std::string&, Mode, bool); + Reference(const InstancePtr&, const Ice::CommunicatorPtr&, const Ice::Identity&, const Ice::Context&, + const std::string&, Mode, bool); Reference(const Reference&); private: - InstancePtr _instance; + const InstancePtr _instance; + const Ice::CommunicatorPtr _communicator; Mode _mode; bool _secure; @@ -131,8 +133,8 @@ class FixedReference : public Reference { public: - FixedReference(const InstancePtr&, const Ice::Identity&, const Ice::Context&, const std::string&, Mode, - const std::vector<Ice::ConnectionPtr>&); + FixedReference(const InstancePtr&, const Ice::CommunicatorPtr&, const Ice::Identity&, const Ice::Context&, + const std::string&, Mode, const std::vector<Ice::ConnectionPtr>&); const std::vector<Ice::ConnectionPtr>& getFixedConnections() const; @@ -188,8 +190,8 @@ public: protected: - RoutableReference(const InstancePtr&, const Ice::Identity&, const Ice::Context&, const std::string&, - Mode, bool, const RouterInfoPtr&); + RoutableReference(const InstancePtr&, const Ice::CommunicatorPtr&, const Ice::Identity&, const Ice::Context&, + const std::string&, Mode, bool, const RouterInfoPtr&); RoutableReference(const RoutableReference&); @@ -208,8 +210,8 @@ class DirectReference : { public: - DirectReference(const InstancePtr&, const Ice::Identity&, const Ice::Context&, const std::string&, Mode, - bool, const std::vector<EndpointPtr>& + DirectReference(const InstancePtr&, const Ice::CommunicatorPtr&, const Ice::Identity&, const Ice::Context&, + const std::string&, Mode, bool, const std::vector<EndpointPtr>& #ifdef ICEE_HAS_ROUTER , const RouterInfoPtr& #endif @@ -262,8 +264,8 @@ class IndirectReference : { public: - IndirectReference(const InstancePtr&, const Ice::Identity&, const Ice::Context&, const std::string&, - Mode, bool, const std::string& + IndirectReference(const InstancePtr&, const Ice::CommunicatorPtr&, const Ice::Identity&, const Ice::Context&, + const std::string&, Mode, bool, const std::string& #ifdef ICEE_HAS_ROUTER , const RouterInfoPtr& #endif |