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     void (AXISCALL* setHandlerProperty)(void* pObj, AxisChar* name, 
00101                 void* value, int len);
00102     HeaderBlock_C (AXISCALL* createSOAPHeaderBlock)(void* pObj, 
00103         AxisChar * pachLocalName, AxisChar * pachUri);
00104     HeaderBlock_C (AXISCALL* getFirstSOAPHeaderBlock)(void* pObj);
00105     HeaderBlock_C (AXISCALL* getNextSOAPHeaderBlock)(void* pObj);
00106     HeaderBlock_C (AXISCALL* getCurrentSOAPHeaderBlock)(void* pObj);
00107     void (AXISCALL* deleteCurrentSOAPHeaderBlock)(void* pObj);
00108     void (AXISCALL* deleteSOAPHeaderBlock)(void* pObj,
00109         HeaderBlock_C hdrBlk);
00110     void (AXISCALL* setProxy)(void* pObj, const char* pcProxyHost,
00111         unsigned int uiProxyPort);
00112     void (AXISCALL* setSOAPMethodAttribute)(void* pObj,
00113         const AxisChar *pLocalname, const AxisChar *pPrefix,
00114         const AxisChar* pUri, const AxisChar *pValue);
00115     Attribute_C (AXISCALL* getFirstSOAPMethodAttribute)(void* pObj);
00116     Attribute_C (AXISCALL* getNextSOAPMethodAttribute)(void* pObj);
00117     Attribute_C (AXISCALL* getCurrentSOAPMethodAttribute)(void* pObj);
00118     void (AXISCALL* deleteCurrentSOAPMethodAttribute)(void* pObj);
00119     void (AXISCALL* deleteSOAPMethodAttribute)(void* pObj,
00120         Attribute_C Attr);
00121     void (AXISCALL* setTransportTimeout)(void* pObj, const long lSeconds);
00122        int (AXISCALL* getStatus)(void* pObj);
00123     const AxisChar* (AXISCALL* getNamespacePrefix)(void* pObj,
00124         const AxisChar* pNamespace);
00125 } StubFunctions;
00126 
00127 #ifdef __cplusplus
00128 
00145 AXIS_CPP_NAMESPACE_START
00146 
00147 class STORAGE_CLASS_INFO Stub
00148 {
00149   public:
00159     Stub(const char *pcEndPointURI, AXIS_PROTOCOL_TYPE eProtocol);
00160 
00166 
00175 
00199 
00210 
00224 
00242 
00262 
00268 
00288 
00297 
00359 
00371 
00385 
00404 
00410 
00431 
00439 
00448 
00458 
00469 
00483 
00502 
00508 
00529 
00539 
00543 
00547 
00553 
00617 
00623 
00629 
00635 
00641 
00647 
00652 
00657 
00662 
00667 
00672 
00677 
00682 
00687 
00692 
00702 
00703 
00704 
00705 

Generated on Wed Sep 15 14:14:21 2004 for AxisC++ by doxygen1.2.18