Remote Call Framework 3.0
HttpEndpoint.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2018, 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: 3.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 
31  class RCF_EXPORT HttpEndpoint : public TcpEndpoint
32  {
33  public:
34  // *** SWIG BEGIN ***
35 
37  HttpEndpoint(int port);
38 
40  HttpEndpoint(const std::string & ip, int port);
41 
42  // *** SWIG END ***
43 
45  std::string asString() const;
46 
47  ServerTransportUniquePtr createServerTransport() const;
48  ClientTransportUniquePtr createClientTransport() const;
49  EndpointPtr clone() const;
50  };
51 
52 } // namespace RCF
53 
54 #endif // INCLUDE_RCF_HTTPENDPOINT_HPP
std::shared_ptr< Endpoint > EndpointPtr
Reference counted wrapper for RCF::Endpoint.
Definition: RcfFwd.hpp:117
std::unique_ptr< ClientTransport > ClientTransportUniquePtr
Unique pointer wrapper for RCF::ClientTransport.
Definition: RcfFwd.hpp:43
Represents a TCP endpoint.
Definition: TcpEndpoint.hpp:35
Represents a HTTP endpoint.
Definition: HttpEndpoint.hpp:31
Definition: AmiIoHandler.hpp:24