Remote Call Framework 3.3
NamedPipeEndpoint.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2022, Delta V Software. All rights reserved.
6 // https://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 under GPL terms.
12 //
13 // Version: 3.3
14 // Contact: support <at> deltavsoft.com
15 //
16 //******************************************************************************
17 
18 #ifndef INCLUDE_RCF_NAMEDPIPEENDPOINT_HPP
19 #define INCLUDE_RCF_NAMEDPIPEENDPOINT_HPP
20 
21 #include <RCF/Endpoint.hpp>
22 #include <RCF/Export.hpp>
23 #include <RCF/Tchar.hpp>
24 
25 namespace RCF {
26 
27  class RCF_EXPORT NamedPipeEndpoint : public Endpoint
28  {
29  public:
30 
31  NamedPipeEndpoint();
32 
33  NamedPipeEndpoint(const tstring & pipeName);
34 
35  ServerTransportUniquePtr createServerTransport() const;
36  ClientTransportUniquePtr createClientTransport() const;
37  EndpointPtr clone() const;
38 
39  std::string asString() const;
40 
41  private:
42  tstring mPipeName;
43  };
44 
45 } // namespace RCF
46 
47 #endif // ! INCLUDE_RCF_NAMEDPIPEENDPOINT_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
Definition: AmiIoHandler.hpp:23