Service_Context_Handler.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 // ===================================================================
00004 /**
00005  *  @file   Service_Context_Handler.h
00006  *
00007  *  $Id: Service_Context_Handler.h 80861 2008-03-07 13:48:34Z johnnyw $
00008  *
00009  *  @author Johnny Willemsen  <jwillemsen@remedy.nl>
00010  */
00011 // ===================================================================
00012 
00013 #ifndef TAO_SERVICE_CONTEXT_HANDLER_H
00014 #define TAO_SERVICE_CONTEXT_HANDLER_H
00015 
00016 #include /**/ "ace/pre.h"
00017 
00018 #include "tao/IOP_IORC.h"
00019 
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif /* ACE_LACKS_PRAGMA_ONCE */
00023 
00024 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00025 
00026 class TAO_ServerRequest;
00027 
00028 /**
00029  * This is the base of handler classes that each can process a certain
00030  * service context. This way optional libraries can plugin handlers to the
00031  * core of TAO. Each handler has to be registered in the Service Context
00032  * Handler registry
00033  */
00034 class TAO_Export TAO_Service_Context_Handler
00035 {
00036   public:
00037     TAO_Service_Context_Handler (void);
00038     virtual int process_service_context (TAO_ServerRequest& server_request,
00039                                          const IOP::ServiceContext& context) = 0;
00040     virtual ~TAO_Service_Context_Handler (void);
00041 };
00042 
00043 TAO_END_VERSIONED_NAMESPACE_DECL
00044 
00045 #include /**/ "ace/post.h"
00046 
00047 #endif  /* TAO_SERVICE_CONTEXT_HANDLER_H */

Generated on Tue Feb 2 17:37:52 2010 for TAO by  doxygen 1.4.7