diff options
Diffstat (limited to 'TAO/orbsvcs/examples/FaultTolerance/RolyPoly/StateUpdate.h')
-rw-r--r-- | TAO/orbsvcs/examples/FaultTolerance/RolyPoly/StateUpdate.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/StateUpdate.h b/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/StateUpdate.h new file mode 100644 index 00000000000..2d9aec49fe8 --- /dev/null +++ b/TAO/orbsvcs/examples/FaultTolerance/RolyPoly/StateUpdate.h @@ -0,0 +1,27 @@ +// file : RolyPoly/StateUpdate.h +// author : Boris Kolpackov <boris@dre.vanderbilt.edu> +// cvs-id : $Id$ + +#ifndef STATE_UPDATE_H +#define STATE_UPDATE_H + +#include "tao/corba.h" + +class Checkpointable +{ +public: + virtual + ~Checkpointable (); + + virtual CORBA::Any* + get_state (); + + static void + associate_state (CORBA::ORB_ptr orb, CORBA::Any const& state); + + virtual void + set_state (CORBA::Any const& state) = 0; +}; + + +#endif // STATE_UPDATE_H |