Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PortableServer / Upcall_Command.h
blob2b32a23d33e7438d912b54d097fc367f11570f97
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Upcall_Command.h
7 * @author Ossama Othman
8 */
9 //=============================================================================
11 #ifndef TAO_UPCALL_COMMAND_H
12 #define TAO_UPCALL_COMMAND_H
14 #include /**/ "ace/pre.h"
16 #include "tao/PortableServer/portableserver_export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* !ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Versioned_Namespace.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 namespace TAO
28 /**
29 * @class Upcall_Command
31 * @brief "ABC" that all operation-specific command objects must
32 * subclass.
34 * The actual upcall into a servant is executed through a concrete
35 * @c Upcall_Command object. This is necessary to simplify upcall
36 * interactions in the presence of interceptors, such as when the
37 * @c send_exception() interception point must be invoked when the
38 * servant operation throws an exception.
40 class TAO_PortableServer_Export Upcall_Command
42 public:
43 /// Destructor.
44 virtual ~Upcall_Command ();
46 /// Execute the upcall.
47 virtual void execute () = 0;
49 } // End namespace TAO
51 TAO_END_VERSIONED_NAMESPACE_DECL
53 #include /**/ "ace/post.h"
55 #endif /* TAO_UPCALL_COMMAND_H */