diff options
Diffstat (limited to 'TAO/tao/DiffServPolicy/DiffServ_Service_Context_Handler.h')
-rw-r--r-- | TAO/tao/DiffServPolicy/DiffServ_Service_Context_Handler.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/TAO/tao/DiffServPolicy/DiffServ_Service_Context_Handler.h b/TAO/tao/DiffServPolicy/DiffServ_Service_Context_Handler.h new file mode 100644 index 00000000000..8df73fa9dca --- /dev/null +++ b/TAO/tao/DiffServPolicy/DiffServ_Service_Context_Handler.h @@ -0,0 +1,43 @@ +// -*- C++ -*- + +// =================================================================== +/** + * @file DiffServ_Service_Context_Handler.h + * + * $Id$ + * + * @author Johnny Willemsen <jwillemsen@remedy.nl> + */ +// =================================================================== + +#ifndef TAO_DIFFSERV_SERVICE_CONTEXT_HANDLER_H +#define TAO_DIFFSERV_SERVICE_CONTEXT_HANDLER_H +#include /**/ "ace/pre.h" +#include "tao/DiffServPolicy/DiffServPolicy_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "tao/Service_Context_Handler.h" + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +class TAO_DiffServ_Service_Context_Handler : + public TAO_Service_Context_Handler +{ +public: + virtual int process_service_context (TAO_Transport& transport, + const IOP::ServiceContext& context); + virtual int generate_service_context ( + TAO_Stub *stub, + TAO_Transport &transport, + TAO_Operation_Details &opdetails, + TAO_Target_Specification &spec, + TAO_OutputCDR &msg); +}; + +TAO_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" +#endif /* TAO_DIFFSERV_SERVICE_CONTEXT_HANDLER_H */ |