Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.69 KB | None | 0 0
  1. #ifndef CSERVICE_CONSUMER_H
  2. #define CSERVICE_CONSUMER_H
  3.  
  4.  
  5. #include "soapCustomBinding_USCOREIService1Proxy.h"
  6. #include <iostream>
  7. #include <sstream>
  8. /**
  9.     This class is the main class for consuming the service.
  10.     Provide the same methods that the service contains.
  11. */
  12. class CServiceConsumer
  13. {
  14. protected:
  15.     CustomBinding_USCOREIService1Proxy m_proxy;
  16.    
  17.     /// ostringstream object for receiving the error
  18.     std::ostringstream m_error;
  19. public:
  20.     CServiceConsumer(const char *endpoint);
  21.     ~CServiceConsumer();
  22.     int getLimit();
  23.     std::string openSession(int fileId);
  24.     void closeSession(std::string uuid);
  25.     std::string getObject(std::string uuid, std::string entityName, int offset);
  26.    
  27. };
  28.  
  29. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement