19 #ifndef INCLUDE_RCF_WIN32NAMEDPIPEENDPOINT_HPP
20 #define INCLUDE_RCF_WIN32NAMEDPIPEENDPOINT_HPP
22 #include <RCF/Endpoint.hpp>
23 #include <RCF/Export.hpp>
24 #include <RCF/ClientTransport.hpp>
25 #include <RCF/ServerTransport.hpp>
27 #include <SF/SerializeParent.hpp>
29 #include <RCF/util/Tchar.hpp>
35 class RCF_EXPORT Win32NamedPipeEndpoint :
public Endpoint
39 Win32NamedPipeEndpoint();
44 Win32NamedPipeEndpoint(
const tstring & pipeName);
48 ServerTransportAutoPtr createServerTransport()
const;
49 ClientTransportAutoPtr createClientTransport()
const;
50 EndpointPtr clone()
const;
52 std::string asString()
const;
54 tstring getPipeName();
60 RCF_EXPORT std::pair<tstring, HANDLE> generateNewPipeName();
64 #endif // ! INCLUDE_RCF_WIN32NAMEDPIPEENDPOINT_HPP