19 #ifndef INCLUDE_RCF_PROXYENDPOINTTRANSPORT_HPP 20 #define INCLUDE_RCF_PROXYENDPOINTTRANSPORT_HPP 22 #include <RCF/Export.hpp> 23 #include <RCF/Idl.hpp> 24 #include <RCF/ServerTransport.hpp> 32 RCF_BEGIN(I_ProxyEp,
"I_ProxyEp")
42 GetConnectionRequests,
43 std::vector<std::
string>&)
47 MakeConnectionAvailable,
54 class ProxyEndpointTransport;
55 class TcpServerTransport;
57 typedef std::shared_ptr<ProxyEndpointTransport> ProxyEndpointTransportPtr;
59 class RCF_EXPORT ProxyEndpointTransport : public ServerTransport, public I_Service
63 ProxyEndpointTransport(
const Endpoint& ep,
const std::string& proxyEndpointName);
64 ~ProxyEndpointTransport();
69 virtual void onServiceAdded(RcfServer &server);
70 virtual void onServiceRemoved(RcfServer &server);
71 virtual void onServerStart(RcfServer &server);
72 virtual void onServerStop(RcfServer &server);
80 std::string mEndpointName;
82 RcfServer * mpServer = NULL;
83 TcpServerTransport * mpTcpTransport = NULL;
85 bool mStopFlag =
false;
87 RcfClient<I_ProxyEp> mConn;
92 #endif // ! INCLUDE_RCF_PROXYENDPOINTTRANSPORT_HPP std::shared_ptr< Endpoint > EndpointPtr
Reference counted wrapper for RCF::Endpoint.
Definition: RcfFwd.hpp:118
Definition: AmiIoHandler.hpp:24
TransportType
Describes the transport types used by a RCF connection.
Definition: Enums.hpp:34
std::shared_ptr< ServerTransport > ServerTransportPtr
Unique pointer wrapper for RCF::ServerTransport.
Definition: RcfFwd.hpp:47