RCFProto

- Main Page
- Classes
- Files

- File List

All Classes Functions Typedefs
NamedPipeEndpoint.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_NAMEDPIPEENDPOINT_HPP
20 #define INCLUDE_RCF_NAMEDPIPEENDPOINT_HPP
21
22 #include <RCF/Endpoint.hpp>
23 #include <RCF/Export.hpp>
24 #include <RCF/ClientTransport.hpp>
25 #include <RCF/ServerTransport.hpp>
26 #include <RCF/Tools.hpp>
27
28 #include <SF/SerializeParent.hpp>
29
30 #include <boost/version.hpp>
31
32 namespace RCF {
33
34 class RCF_EXPORT NamedPipeEndpoint : public Endpoint
35 {
36 public:
37
38 NamedPipeEndpoint();
39
40 NamedPipeEndpoint(const tstring & pipeName);
41
42 ServerTransportAutoPtr createServerTransport() const;
43 ClientTransportAutoPtr createClientTransport() const;
44 EndpointPtr clone() const;
45
46 std::string asString() const;
47
48 private:
49 tstring mPipeName;
50 };
51
52 } // namespace RCF
53
54 #endif // ! INCLUDE_RCF_NAMEDPIPEENDPOINT_HPP