// ********************************************************************** // // Copyright (c) 2003-2017 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. // // ********************************************************************** #ifndef INTERCEPTOR_I_H #define INTERCEPTOR_I_H #include #include class InterceptorI : public Ice::DispatchInterceptor { public: InterceptorI(const Ice::ObjectPtr&); virtual bool dispatch(Ice::Request& request); bool getLastStatus() const; const std::string& getLastOperation() const; virtual void clear(); protected: const Ice::ObjectPtr _servant; std::string _lastOperation; bool _lastStatus; }; ICE_DEFINE_PTR(InterceptorIPtr, InterceptorI); #endif