#ifndef LIFECYCLE_I_H_ #define LIFECYCLE_I_H_ /* All the Cipres CORBA services inherit from the LifeCycle object. This is one possible implementation of the lifecycle methods. (Actually, there is only one method right now). When implementing services you can inherit this impl or write your own impl of the remove() function. This implementation calls orb->shutdown(0) from remove. It is useful for a service, like paup, that creates a single CORBA object that will be used by one client only. The service will exit after the client calls remove on the object. */ #include #include "CipresIDL/api1/Cipres.hpp" class CipresIDL_LifeCycle_i : public virtual POA_CipresIDL_api1::LifeCycle { public: CipresIDL_LifeCycle_i (); virtual ~CipresIDL_LifeCycle_i (); virtual void remove ( void) ACE_THROW_SPEC (( CORBA::SystemException)); }; #endif /* LIFECYCLE_I_H_ */