00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file ZIOP_Adapter.h 00006 * 00007 * $Id: ZIOP_Adapter.h 84717 2009-03-05 07:41:07Z msmit $ 00008 * 00009 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00010 */ 00011 //============================================================================= 00012 #ifndef TAO_ZIOP_ADAPTER_H 00013 #define TAO_ZIOP_ADAPTER_H 00014 00015 #include /**/ "ace/pre.h" 00016 #include "ace/Service_Object.h" 00017 00018 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00019 # pragma once 00020 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00021 00022 #include "tao/TAO_Export.h" 00023 #include "tao/orbconf.h" 00024 #include "tao/TAO_Server_Request.h" 00025 #include "tao/Profile_Transport_Resolver.h" 00026 00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00028 00029 class TAO_Policy_Validator; 00030 class TAO_Queued_Data; 00031 00032 /** 00033 * @class TAO_ZIOP_Adapter 00034 * 00035 * @brief TAO_ZIOP_Adapter 00036 * 00037 * Class that offers an interface to the ORB to load and manipulate 00038 * ZIOP library. 00039 */ 00040 class TAO_Export TAO_ZIOP_Adapter : public ACE_Service_Object 00041 { 00042 public: 00043 virtual bool decompress (ACE_Data_Block **db, TAO_Queued_Data& qd, TAO_ORB_Core& orb_core) = 0; 00044 00045 virtual bool marshal_data (TAO_OutputCDR& cdr, TAO_Stub& stub) = 0; 00046 virtual bool marshal_data (TAO_OutputCDR& cdr, TAO_ORB_Core& orb_core) = 0; 00047 00048 virtual void load_policy_validators (TAO_Policy_Validator &validator) = 0; 00049 00050 /// The virtual destructor 00051 virtual ~TAO_ZIOP_Adapter (void); 00052 }; 00053 00054 TAO_END_VERSIONED_NAMESPACE_DECL 00055 00056 #include /**/ "ace/post.h" 00057 00058 #endif /* TAO_ZIOP_ADAPTER_H */ 00059