3 //=============================================================================
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
9 //=============================================================================
10 #ifndef TAO_ZIOP_ADAPTER_H
11 #define TAO_ZIOP_ADAPTER_H
13 #include /**/ "ace/pre.h"
14 #include "ace/Service_Object.h"
16 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 #endif /* ACE_LACKS_PRAGMA_ONCE */
20 #include "tao/TAO_Export.h"
21 #include "tao/orbconf.h"
22 #include "tao/TAO_Server_Request.h"
23 #include "tao/Profile_Transport_Resolver.h"
25 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 class TAO_Policy_Validator
;
28 class TAO_Queued_Data
;
31 * @class TAO_ZIOP_Adapter
33 * @brief TAO_ZIOP_Adapter
35 * Class that offers an interface to the ORB to load and manipulate
38 class TAO_Export TAO_ZIOP_Adapter
: public ACE_Service_Object
41 virtual bool decompress (ACE_Data_Block
**db
, TAO_Queued_Data
&qd
, TAO_ORB_Core
&orb_core
) = 0;
43 virtual bool marshal_data (TAO_OutputCDR
&cdr
, TAO_Stub
&stub
) = 0;
44 virtual bool marshal_data (TAO_OutputCDR
&cdr
, TAO_ORB_Core
&orb_core
, TAO_ServerRequest
*request
) = 0;
46 virtual void load_policy_validators (TAO_Policy_Validator
&validator
) = 0;
48 /// The virtual destructor
49 virtual ~TAO_ZIOP_Adapter (void);
52 TAO_END_VERSIONED_NAMESPACE_DECL
54 #include /**/ "ace/post.h"
56 #endif /* TAO_ZIOP_ADAPTER_H */