diff options
author | Marc Laukien <marc@zeroc.com> | 2001-08-12 14:00:27 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-08-12 14:00:27 +0000 |
commit | 1d20ed6fc8d49eec1a0a27a59cfabb99909b8a65 (patch) | |
tree | 38a980b5b197c3121f3b24417eeedb6de03e3164 /cpp/include/Ice/Object.h | |
parent | fix (diff) | |
download | ice-1d20ed6fc8d49eec1a0a27a59cfabb99909b8a65.tar.bz2 ice-1d20ed6fc8d49eec1a0a27a59cfabb99909b8a65.tar.xz ice-1d20ed6fc8d49eec1a0a27a59cfabb99909b8a65.zip |
location forward
Diffstat (limited to 'cpp/include/Ice/Object.h')
-rw-r--r-- | cpp/include/Ice/Object.h | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/cpp/include/Ice/Object.h b/cpp/include/Ice/Object.h index acac8ab4114..1397debbf77 100644 --- a/cpp/include/Ice/Object.h +++ b/cpp/include/Ice/Object.h @@ -24,9 +24,10 @@ class Stream; enum DispatchStatus { DispatchOK, + DispatchException, + DispatchLocationForward, DispatchObjectNotExist, - DispatchOperationNotExist, - DispatchException + DispatchOperationNotExist }; } @@ -34,6 +35,20 @@ enum DispatchStatus namespace Ice { +class ICE_API LocationForward +{ +public: + + LocationForward(const LocationForward&); + LocationForward(const ObjectPrx&); + +protected: + + ObjectPrx _prx; + friend class ::IceProxy::Ice::Object; + friend class ::IceInternal::Incoming; +}; + class ICE_API ObjectPtrE { public: @@ -63,8 +78,7 @@ public: virtual const std::string* _classIds() = 0; static std::string __names[]; - virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, - const std::string&); + virtual ::IceInternal::DispatchStatus __dispatch(::IceInternal::Incoming&, const std::string&); virtual void __write(::IceInternal::Stream*) = 0; virtual void __read(::IceInternal::Stream*) = 0; |