diff options
Diffstat (limited to 'trunk/TAO/tests/OBV/Simple/Server_i.h')
-rw-r--r-- | trunk/TAO/tests/OBV/Simple/Server_i.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/trunk/TAO/tests/OBV/Simple/Server_i.h b/trunk/TAO/tests/OBV/Simple/Server_i.h new file mode 100644 index 00000000000..c1a026c25e2 --- /dev/null +++ b/trunk/TAO/tests/OBV/Simple/Server_i.h @@ -0,0 +1,60 @@ +// -*- C++ -*- +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/tests/OBV/Typed_Events +// +// = FILENAME +// Server_i.h +// +// = DESCRIPTION +// This class implements the Event_Types IDL interface. +// +// = AUTHOR +// Torsten Kuepper +// derived from the Echo example TAO/example/Simple/echo +// of Kirthika Parameswaran <kirthika@cs.wustl.edu> +// +// ============================================================================ + +#ifndef ECHO_I_H +#define ECHO_I_H + +#include "OBVS.h" + + +class Checkpoint_i : public POA_Checkpoint +{ +public: + // = Initialization and termination methods. + Checkpoint_i (void); + // Constructor. + + ~Checkpoint_i (void); + // Destructor. + + virtual void put_event ( + Event * e + ACE_ENV_ARG_DECL + ) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual void shutdown ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) + ACE_THROW_SPEC (( + ::CORBA::SystemException + )); + + void orb (CORBA::ORB_ptr o); + // Set the ORB pointer. + +private: + CORBA::ORB_var orb_; + // ORB pointer. +}; + +#endif /* ECHO_I_H */ + |