00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
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
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