18 #ifndef INCLUDE_RCF_PROXYENDPOINTTRANSPORT_HPP 19 #define INCLUDE_RCF_PROXYENDPOINTTRANSPORT_HPP 21 #include <RCF/Export.hpp> 22 #include <RCF/Idl.hpp> 23 #include <RCF/ServerTransport.hpp> 31 RCF_BEGIN(I_ProxyEp,
"I_ProxyEp")
41 GetConnectionRequests,
42 std::vector<std::
string>&)
46 MakeConnectionAvailable,
53 class ProxyEndpointTransport;
54 class TcpServerTransport;
56 typedef std::shared_ptr<ProxyEndpointTransport> ProxyEndpointTransportPtr;
58 class RCF_EXPORT ProxyEndpointTransport : public ServerTransport, public I_Service
62 ProxyEndpointTransport(
const Endpoint& ep,
const std::string& proxyEndpointName);
63 ~ProxyEndpointTransport();
68 virtual void onServiceAdded(RcfServer &server);
69 virtual void onServiceRemoved(RcfServer &server);
70 virtual void onServerStart(RcfServer &server);
71 virtual void onServerStop(RcfServer &server);
79 std::string mEndpointName;
81 RcfServer * mpServer = NULL;
82 TcpServerTransport * mpTcpTransport = NULL;
84 bool mStopFlag =
false;
86 RcfClient<I_ProxyEp> mConn;
91 #endif // ! INCLUDE_RCF_PROXYENDPOINTTRANSPORT_HPP std::shared_ptr< Endpoint > EndpointPtr
Reference counted wrapper for RCF::Endpoint.
Definition: RcfFwd.hpp:117
Definition: AmiIoHandler.hpp:23
TransportType
Describes the transport types used by a RCF connection.
Definition: Enums.hpp:33
std::shared_ptr< ServerTransport > ServerTransportPtr
Unique pointer wrapper for RCF::ServerTransport.
Definition: RcfFwd.hpp:46