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

SoapBinInputStream.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 /* SoapBinInputStream.h: interface for the SoapBinInputStream class. */
00018 
00019 #if !defined(AXIS_SOAPBININPUTSTREAM_H__INCLUDED_)
00020 #define AXIS_SOAPBININPUTSTREAM_H__INCLUDED_
00021 
00022 #if _MSC_VER > 1000
00023 #pragma once
00024 #endif /* _MSC_VER > 1000 */
00025 
00026 #include <xercesc/util/BinInputStream.hpp>
00027 #include <axis/server/Packet.h>
00028 
00029 XERCES_CPP_NAMESPACE_USE
00030 
00031 class SoapBinInputStream : public BinInputStream
00032 {
00033 private:
00034     AXIS_MODULE_CALLBACK_GET_MESSAGE_BYTES m_pReadFunct;
00035     unsigned int m_nByteCount;
00036     const void* m_pContext;
00037 public:
00038     SoapBinInputStream(AXIS_MODULE_CALLBACK_GET_MESSAGE_BYTES pReadFunct, const void* pContext);
00039     virtual ~SoapBinInputStream();
00040     unsigned int curPos() const;
00041     unsigned int readBytes(XMLByte* const toFill, const unsigned int maxToRead);
00042 };
00043 
00044 #endif

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