3 //=============================================================================
5 * @file Upcall_Command.h
7 * @author Ossama Othman
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)
20 #endif /* !ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Versioned_Namespace.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 * @class Upcall_Command
31 * @brief "ABC" that all operation-specific command objects must
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
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 */