Main Page | Class Hierarchy | Class List | File List | Class Members

CommunicationChannel.hpp

00001 #ifndef XCT_XSOAP3_COMMUNICATION_CHANNEL_H 00002 #define XCT_XSOAP3_COMMUNICATION_CHANNEL_H 00003 00004 00005 #include <sstream> 00006 #include <string> 00007 #include <iostream> 00008 00009 00010 #include "CommunicationException.hpp" 00011 00012 00013 namespace xsoap { 00014 00015 class CommunicationChannel 00016 { 00017 public: 00018 CommunicationChannel(); 00019 CommunicationChannel(std::stringstream *pipe); 00020 virtual ~CommunicationChannel(void); 00021 00022 virtual CommunicationChannel& operator<<(const std::string&) = 0; 00023 // sends a string 00024 virtual void send(const std::string& str); 00025 // recvs a string 00026 virtual void receive(std::string&); 00027 00028 virtual void close(); 00029 00030 virtual void setRequestProperty(std::string, std::string) {} 00031 00032 private: 00033 std::stringstream *m_pipe; 00034 }; 00035 00036 } 00037 00038 00039 #endif 00040 00041 00042 00043 /* Local Variables: */ 00044 /* c-basic-offset: 4 */ 00045 /* indent-tabs-mode: nil */ 00046 /* End: */ 00047 /* vim: set filetype=cpp tabstop=8 shiftwidth=4 softtabstop=4 expandtab: */ 00048 00049 00050

Generated on Sat Jun 5 00:52:17 2004 for XSoap-C++ by doxygen 1.3.7