//****************************************************************************** // RCF - Remote Call Framework // Copyright (c) 2005 - 2007. All rights reserved. // Consult your license for conditions of use. // Developed by Jarl Lindrud. // Contact: jlindrud@hotmail.com . //****************************************************************************** #ifndef INCLUDE_RCF_STUBENTRY_HPP #define INCLUDE_RCF_STUBENTRY_HPP #include #include #include namespace RCF { class I_RcfClient; class StubEntry; typedef boost::shared_ptr RcfClientPtr; typedef boost::shared_ptr StubEntryPtr; class StubEntry : boost::noncopyable { public: StubEntry(const RcfClientPtr &rcfClientPtr); RcfClientPtr getRcfClientPtr() const; void touch(); unsigned int getElapsedTimeS() const; private: RcfClientPtr mRcfClientPtr; mutable Mutex mMutex; unsigned int mTimeStamp; }; } // namespace RCF #endif // ! INCLUDE_RCF_STUBENTRY_HPP