Remote Call Framework 3.2
HttpsEndpoint.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2020, 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.2
15 // Contact: support <at> deltavsoft.com
16 //
17 //******************************************************************************
18 
19 #ifndef INCLUDE_RCF_HTTPSENDPOINT_HPP
20 #define INCLUDE_RCF_HTTPSENDPOINT_HPP
21 
22 #include <RCF/Export.hpp>
23 #include <RCF/TcpEndpoint.hpp>
24 
25 namespace RCF {
26 
28 
31  class RCF_EXPORT HttpsEndpoint : public TcpEndpoint
32  {
33  public:
34 
35  // *** SWIG BEGIN ***
36 
38  HttpsEndpoint(int port);
39 
41  HttpsEndpoint(const std::string & ip, int port);
42 
44  HttpsEndpoint(const std::string & ip, int port, const std::string & urlPath);
45 
46  // *** SWIG END ***
47 
49  std::string asString() const;
50 
51  ServerTransportUniquePtr createServerTransport() const;
52  ClientTransportUniquePtr createClientTransport() const;
53  EndpointPtr clone() const;
54 
55  std::string getUrlPath() const;
56 
57  private:
58  std::string mUrlPath;
59  };
60 
61 } // namespace RCF
62 
63 #endif // INCLUDE_RCF_HTTPSENDPOINT_HPP
Represents a HTTPS endpoint.
Definition: HttpsEndpoint.hpp:31
std::shared_ptr< Endpoint > EndpointPtr
Reference counted wrapper for RCF::Endpoint.
Definition: RcfFwd.hpp:118
std::unique_ptr< ClientTransport > ClientTransportUniquePtr
Unique pointer wrapper for RCF::ClientTransport.
Definition: RcfFwd.hpp:44
Represents a TCP endpoint.
Definition: TcpEndpoint.hpp:35
Definition: AmiIoHandler.hpp:24