diff options
author | Benoit Foucher <benoit@zeroc.com> | 2012-08-06 09:57:02 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2012-08-06 09:57:02 +0200 |
commit | a729c5712cee101829878b44874e37a720bfd75b (patch) | |
tree | cfa17d0c3435eef002b3f3e572ce6921cc5c1779 /cpp/src/Ice/ObserverHelper.cpp | |
parent | Updates (diff) | |
download | ice-a729c5712cee101829878b44874e37a720bfd75b.tar.bz2 ice-a729c5712cee101829878b44874e37a720bfd75b.tar.xz ice-a729c5712cee101829878b44874e37a720bfd75b.zip |
Missing files
Diffstat (limited to 'cpp/src/Ice/ObserverHelper.cpp')
-rw-r--r-- | cpp/src/Ice/ObserverHelper.cpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/cpp/src/Ice/ObserverHelper.cpp b/cpp/src/Ice/ObserverHelper.cpp new file mode 100644 index 00000000000..6507da82287 --- /dev/null +++ b/cpp/src/Ice/ObserverHelper.cpp @@ -0,0 +1,32 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2012 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#include <Ice/ObserverHelper.h> +#include <Ice/Observer.h> + +using namespace IceInternal; + +void +ObserverHelper::attach(const Ice::Instrumentation::ObserverPtr& observer) +{ + observer->attach(); +} + +void +ObserverHelper::detach(const Ice::Instrumentation::ObserverPtr& observer) +{ + observer->attach(); +} + +void +ObserverHelper::failed(const Ice::Instrumentation::ObserverPtr& observer, const std::string& exceptionName) +{ + observer->failed(exceptionName); +} + |