diff options
author | Marc Laukien <marc@zeroc.com> | 2001-12-15 20:19:20 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-12-15 20:19:20 +0000 |
commit | 8ee670953a8257e73fbbab7f1a1be2cb7237c073 (patch) | |
tree | 46394e6fe592fdecb187fa8184d70b6157209e36 /cpp/src/Ice/Connection.h | |
parent | fixes (diff) | |
download | ice-8ee670953a8257e73fbbab7f1a1be2cb7237c073.tar.bz2 ice-8ee670953a8257e73fbbab7f1a1be2cb7237c073.tar.xz ice-8ee670953a8257e73fbbab7f1a1be2cb7237c073.zip |
fixes
Diffstat (limited to 'cpp/src/Ice/Connection.h')
-rw-r--r-- | cpp/src/Ice/Connection.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cpp/src/Ice/Connection.h b/cpp/src/Ice/Connection.h index aa498f70b6b..c03f824f136 100644 --- a/cpp/src/Ice/Connection.h +++ b/cpp/src/Ice/Connection.h @@ -40,6 +40,13 @@ public: Connection(const InstancePtr&, const TransceiverPtr&, const EndpointPtr&, const ::Ice::ObjectAdapterPtr&); virtual ~Connection(); + enum DestructionReason + { + ObjectAdapterDeactivated, + CommunicatorDestroyed + }; + + void destroy(DestructionReason); bool destroyed() const; void hold(); void activate(); @@ -75,7 +82,7 @@ private: void setState(State, const ::Ice::LocalException&); void setState(State); void closeConnection(); - void warning(const ::Ice::LocalException&) const; + void warning(const ::Ice::Exception&) const; TransceiverPtr _transceiver; EndpointPtr _endpoint; |