Remote Call Framework 3.0
NamedPipeEndpoint.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_NAMEDPIPEENDPOINT_HPP
20 #define INCLUDE_RCF_NAMEDPIPEENDPOINT_HPP
21 
22 #include <RCF/Endpoint.hpp>
23 #include <RCF/Export.hpp>
24 #include <RCF/Tchar.hpp>
25 
26 namespace RCF {
27 
28  class RCF_EXPORT NamedPipeEndpoint : public Endpoint
29  {
30  public:
31 
32  NamedPipeEndpoint();
33 
34  NamedPipeEndpoint(const tstring & pipeName);
35 
36  ServerTransportUniquePtr createServerTransport() const;
37  ClientTransportUniquePtr createClientTransport() const;
38  EndpointPtr clone() const;
39 
40  std::string asString() const;
41 
42  private:
43  tstring mPipeName;
44  };
45 
46 } // namespace RCF
47 
48 #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:24