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 #include <vector>
00069 using namespace std;
00070 #endif
00071 
00082 typedef struct {
00083     void (AXISCALL* setEndpoint)(void* pObj, const char* pchEndpoint);
00084     void (AXISCALL* setTransportProperty)(void* pObj, 
00085         const char *pcKey, const char *pcValue);
00086     char* (AXISCALL* getFirstTrasportPropertyKey)(void* pObj);
00087     char* (AXISCALL* getNextTrasportPropertyKey)(void* pObj);
00088     char* (AXISCALL* getCurrentTrasportPropertyKey)(void* pObj);
00089     char* (AXISCALL* getCurrentTrasportPropertyValue)(void* pObj);
00090     void (AXISCALL* deleteCurrentTrasportProperty)(void* pObj);
00091     void (AXISCALL* deleteTrasportProperty)(void* pObj, char* pcKey, 
00092         unsigned int uiOccurance);
00093     HeaderBlock_C (AXISCALL* createSOAPHeaderBlock)(void* pObj, 
00094         AxisChar * pachLocalName, AxisChar * pachUri);
00095     HeaderBlock_C (AXISCALL* getFirstSOAPHeaderBlock)(void* pObj);
00096     HeaderBlock_C (AXISCALL* getNextSOAPHeaderBlock)(void* pObj);
00097     HeaderBlock_C (AXISCALL* getCurrentSOAPHeaderBlock)(void* pObj);
00098     void (AXISCALL* deleteCurrentSOAPHeaderBlock)(void* pObj);
00099     void (AXISCALL* deleteSOAPHeaderBlock)(void* pObj,
00100         HeaderBlock_C hdrBlk);
00101     void (AXISCALL* setProxy)(void* pObj, const char* pcProxyHost,
00102         unsigned int uiProxyPort);
00103     void (AXISCALL* setSOAPMethodAttribute)(void* pObj,
00104         const AxisChar *pLocalname, const AxisChar *pPrefix,
00105         const AxisChar* pUri, const AxisChar *pValue);
00106     Attribute_C (AXISCALL* getFirstSOAPMethodAttribute)(void* pObj);
00107     Attribute_C (AXISCALL* getNextSOAPMethodAttribute)(void* pObj);
00108     Attribute_C (AXISCALL* getCurrentSOAPMethodAttribute)(void* pObj);
00109     void (AXISCALL* deleteCurrentSOAPMethodAttribute)(void* pObj);
00110     void (AXISCALL* deleteSOAPMethodAttribute)(void* pObj,
00111         Attribute_C Attr);
00112     void (AXISCALL* setTransportTimeout)(void* pObj, const long lSeconds);
00113        int (AXISCALL* getStatus)(void* pObj);
00114     const AxisChar* (AXISCALL* getNamespacePrefix)(void* pObj,
00115         const AxisChar* pNamespace);
00116 } StubFunctions;
00117 
00118 #ifdef __cplusplus
00119 
00135 class STORAGE_CLASS_INFO Stub
00136 {
00137   public:
00147     Stub(const char *pcEndPointURI, AXIS_PROTOCOL_TYPE eProtocol);
00148 
00154 
00163 
00187 
00198 
00212 
00230 
00250 
00256 
00276 
00338 
00350 
00364 
00383 
00389 
00410 
00418 
00427 
00437 
00448 
00462 
00481 
00487 
00508 
00518 
00522 
00526 
00532 
00593 
00599 
00605 
00611 
00617 
00623 
00628 
00633 
00638 
00643 
00648 
00653 
00658 
00663 
00668 
00676 
00677 
00678 
00679 

Generated on Fri Jul 9 13:18:29 2004 for AxisC++ by doxygen1.2.18