Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Examples  

Stub.h

Go to the documentation of this file.
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 
00026 /*
00027  * Revision 1.1  2004/05/31 samisa
00028  * Added setProxy
00029  */
00030 
00031 /*
00032  * Revision 1.2  2004/05/31 roshan
00033  * Added calling conventions
00034  */
00035 
00036 /*
00037  * Revision 1.3  2004/06/01 roshan
00038  * Added setSOAPMethodAttribute
00039  */
00040 
00041 /*
00042  * Revision 1.4  2004/06/08 samisa
00043  * Added setTransportTimeout
00044  */
00045 
00046 /*
00047  * Revision 1.5  2004/06/10 samisa
00048  * Added doxygen comments to help autobuild API docs
00049  */
00050 
00051 /*
00052  * Revision 1.6  2004/06/13 roshan
00053  * Added doxygen comments to help autobuild API docs
00054  */
00055 
00056 /*
00057  * Revision 1.13  2004/06/13 susantha
00058  * Added support for writing C web services and handlers
00059  */
00060 
00061 #if !defined(_STUB_H____OF_AXIS_INCLUDED_)
00062 #define _STUB_H____OF_AXIS_INCLUDED_
00063 
00064 #include <axis/client/Call.h>
00065 #include <axis/server/Attribute.h>
00066 
00067 #ifdef __cplusplus
00068 
00069 #include <vector>
00070 
00071 AXIS_CPP_NAMESPACE_START
00072 
00073 using namespace std;
00074 
00075 AXIS_CPP_NAMESPACE_END
00076 
00077 #endif
00078 
00089 typedef struct {
00090     void (AXISCALL* setEndpoint)(void* pObj, const char* pchEndpoint);
00091     void (AXISCALL* setTransportProperty)(void* pObj, 
00092         const char *pcKey, const char *pcValue);
00093     char* (AXISCALL* getFirstTrasportPropertyKey)(void* pObj);
00094     char* (AXISCALL* getNextTrasportPropertyKey)(void* pObj);
00095     char* (AXISCALL* getCurrentTrasportPropertyKey)(void* pObj);
00096     char* (AXISCALL* getCurrentTrasportPropertyValue)(void* pObj);
00097     void (AXISCALL* deleteCurrentTrasportProperty)(void* pObj);
00098     void (AXISCALL* deleteTrasportProperty)(void* pObj, char* pcKey, 
00099         unsigned int uiOccurance);
00100     HeaderBlock_C (AXISCALL* createSOAPHeaderBlock)(void* pObj, 
00101         AxisChar * pachLocalName, AxisChar * pachUri);
00102     HeaderBlock_C (AXISCALL* getFirstSOAPHeaderBlock)(void* pObj);
00103     HeaderBlock_C (AXISCALL* getNextSOAPHeaderBlock)(void* pObj);
00104     HeaderBlock_C (AXISCALL* getCurrentSOAPHeaderBlock)(void* pObj);
00105     void (AXISCALL* deleteCurrentSOAPHeaderBlock)(void* pObj);
00106     void (AXISCALL* deleteSOAPHeaderBlock)(void* pObj,
00107         HeaderBlock_C hdrBlk);
00108     void (AXISCALL* setProxy)(void* pObj, const char* pcProxyHost,
00109         unsigned int uiProxyPort);
00110     void (AXISCALL* setSOAPMethodAttribute)(void* pObj,
00111         const AxisChar *pLocalname, const AxisChar *pPrefix,
00112         const AxisChar* pUri, const AxisChar *pValue);
00113     Attribute_C (AXISCALL* getFirstSOAPMethodAttribute)(void* pObj);
00114     Attribute_C (AXISCALL* getNextSOAPMethodAttribute)(void* pObj);
00115     Attribute_C (AXISCALL* getCurrentSOAPMethodAttribute)(void* pObj);
00116     void (AXISCALL* deleteCurrentSOAPMethodAttribute)(void* pObj);
00117     void (AXISCALL* deleteSOAPMethodAttribute)(void* pObj,
00118         Attribute_C Attr);
00119     void (AXISCALL* setTransportTimeout)(void* pObj, const long lSeconds);
00120        int (AXISCALL* getStatus)(void* pObj);
00121     const AxisChar* (AXISCALL* getNamespacePrefix)(void* pObj,
00122         const AxisChar* pNamespace);
00123 } StubFunctions;
00124 
00125 #ifdef __cplusplus
00126 
00143 AXIS_CPP_NAMESPACE_START
00144 
00145 class STORAGE_CLASS_INFO Stub
00146 {
00147   public:
00157     Stub(const char *pcEndPointURI, AXIS_PROTOCOL_TYPE eProtocol);
00158 
00164 
00173 
00197 
00208 
00222 
00240 
00260 
00266 
00286 
00348 
00360 
00374 
00393 
00399 
00420 
00428 
00437 
00447 
00458 
00472 
00491 
00497 
00518 
00528 
00532 
00536 
00542 
00603 
00609 
00615 
00621 
00627 
00633 
00638 
00643 
00648 
00653 
00658 
00663 
00668 
00673 
00678 
00688 
00689 
00690 
00691 

Generated on Wed Aug 18 11:42:24 2004 for AxisC++ by doxygen1.2.18