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 <RCF/util/Tchar.hpp>
33 class RCF_EXPORT Win32NamedPipeEndpoint :
public Endpoint
37 Win32NamedPipeEndpoint();
42 Win32NamedPipeEndpoint(
const tstring & pipeName);
46 ServerTransportAutoPtr createServerTransport()
const;
47 ClientTransportAutoPtr createClientTransport()
const;
48 EndpointPtr clone()
const;
50 std::string asString()
const;
52 tstring getPipeName();
58 RCF_EXPORT std::pair<tstring, HANDLE> generateNewPipeName();
62 #endif // ! INCLUDE_RCF_WIN32NAMEDPIPEENDPOINT_HPP