diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-02-17 17:36:04 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-02-17 17:36:04 +0000 |
commit | 995a30f8dec3ccb841bb772c4add9af73d841deb (patch) | |
tree | 035aa3e6c204a63cbdb9ef383a3abf7edc4ac220 /cppe/include/IceE/Proxy.h | |
parent | - Changes to use blocking sockets instead of non-blocking sockets. (diff) | |
download | ice-995a30f8dec3ccb841bb772c4add9af73d841deb.tar.bz2 ice-995a30f8dec3ccb841bb772c4add9af73d841deb.tar.xz ice-995a30f8dec3ccb841bb772c4add9af73d841deb.zip |
Got rid of IceDelegate
Diffstat (limited to 'cppe/include/IceE/Proxy.h')
-rw-r--r-- | cppe/include/IceE/Proxy.h | 40 |
1 files changed, 3 insertions, 37 deletions
diff --git a/cppe/include/IceE/Proxy.h b/cppe/include/IceE/Proxy.h index 0a47d1be6cd..0fe604ef7ad 100644 --- a/cppe/include/IceE/Proxy.h +++ b/cppe/include/IceE/Proxy.h @@ -153,47 +153,13 @@ public: void __rethrowException(const ::Ice::LocalException&); void __checkTwowayOnly(const char*) const; - ::IceInternal::Handle< ::IceDelegate::Ice::Object> __getDelegate(); - protected: - virtual ::IceInternal::Handle< ::IceDelegate::Ice::Object> __createDelegate(); - const ::Ice::Context& __defaultContext() const; + void __checkConnection(); -private: - - void setup(const ::IceInternal::ReferencePtr&); - friend class ::IceInternal::ProxyFactory; - + ::Ice::ConnectionPtr _connection; ::IceInternal::ReferencePtr _reference; - ::IceInternal::Handle< ::IceDelegate::Ice::Object> _delegate; -}; - -} } - -namespace IceDelegate { namespace Ice -{ - -class ICE_API Object : public ::IceUtil::Shared -{ -public: - - ~Object(); - - bool ice_isA(const ::std::string&, const ::Ice::Context&); - void ice_ping(const ::Ice::Context&); - ::std::vector< ::std::string> ice_ids(const ::Ice::Context&); - ::std::string ice_id(const ::Ice::Context&); - - ::Ice::ConnectionPtr ice_connection(); - - void __copyFrom(const ::IceInternal::Handle< ::IceDelegate::Ice::Object>&); - -protected: - - ::IceInternal::ReferencePtr __reference; - ::Ice::ConnectionPtr __connection; private: @@ -203,7 +169,7 @@ private: ::std::string __ice_id(::IceInternal::Outgoing&); void setup(const ::IceInternal::ReferencePtr&); - friend class ::IceProxy::Ice::Object; + friend class ::IceInternal::ProxyFactory; }; } } |