RCFProto
 All Classes Functions Typedefs
HttpEndpoint.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2013, Delta V Software. All rights reserved.
6 // http://www.deltavsoft.com
7 //
8 // RCF is distributed under dual licenses - closed source or GPL.
9 // Consult your particular license for conditions of use.
10 //
11 // If you have not purchased a commercial license, you are using RCF
12 // under GPL terms.
13 //
14 // Version: 2.0
15 // Contact: support <at> deltavsoft.com
16 //
17 //******************************************************************************
18 
19 #ifndef INCLUDE_RCF_HTTPENDPOINT_HPP
20 #define INCLUDE_RCF_HTTPENDPOINT_HPP
21 
22 #include <RCF/Export.hpp>
23 #include <RCF/TcpEndpoint.hpp>
24 
25 namespace RCF {
26 
28  class RCF_EXPORT HttpEndpoint : public TcpEndpoint
29  {
30  public:
31  // *** SWIG BEGIN ***
32 
34  HttpEndpoint(int port);
35 
37  HttpEndpoint(const std::string & ip, int port);
38 
39  // *** SWIG END ***
40 
42  std::string asString() const;
43 
44  ServerTransportAutoPtr createServerTransport() const;
45  ClientTransportAutoPtr createClientTransport() const;
46  EndpointPtr clone() const;
47  };
48 
49 } // namespace RCF
50 
51 #endif // INCLUDE_RCF_HTTPENDPOINT_HPP