Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

WSDDTransport.h

00001 /*
00002  *   Copyright 2003-2004 The Apache Software Foundation.
00003  *
00004  *   Licensed under the Apache License, Version 2.0 (the "License");
00005  *   you may not use this file except in compliance with the License.
00006  *   You may obtain a copy of the License at
00007  *
00008  *       http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  *   Unless required by applicable law or agreed to in writing, software
00011  *   distributed under the License is distributed on an "AS IS" BASIS,
00012  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  *   See the License for the specific language governing permissions and
00014  *   limitations under the License.
00015  */
00016 
00017 
00018 #if !defined(AXIS_WSDDTRANSPORT_H__INCLUDED_)
00019 #define AXIS_WSDDTRANSPORT_H__INCLUDED_
00020 
00021 #include <axis/server/WSDDHandler.h>
00022 #include <map>
00023 /*
00024  *   @class WSDDTransport
00025  *   @brief interface for the WSDDTransport class.
00026  *   @author Susantha Kumara (skumara@virtusa.com)
00027  */
00028 class WSDDTransport  
00029 {
00030 public:
00031     void AddHandler(bool bRequestFlow, AXIS_PROTOCOL_TYPE protocol,
00032         WSDDHandler* pHandler);
00033     int RemoveHandler(bool bRequestFlow, AXIS_PROTOCOL_TYPE protocol,
00034         WSDDHandler* pHandler);
00035     const WSDDHandlerList* GetResponseFlowHandlers
00036         (AXIS_PROTOCOL_TYPE Protocol);
00037     const WSDDHandlerList* GetRequestFlowHandlers(AXIS_PROTOCOL_TYPE Protocol);
00038     WSDDTransport();
00039     virtual ~WSDDTransport();
00040     int UpdateWSDD(FILE* wsddfile, int tabcount);
00041 private:
00042     map<AXIS_PROTOCOL_TYPE, WSDDHandlerList>* m_RequestHandlers;
00043     map<AXIS_PROTOCOL_TYPE, WSDDHandlerList>* m_ResponseHandlers;
00044 };
00045 
00046 #endif 
00047 

Generated on Fri Apr 9 12:21:29 2004 for axiscpp by doxygen1.2.18