19 #ifndef INCLUDE_RCF_TCPENDPOINT_HPP 20 #define INCLUDE_RCF_TCPENDPOINT_HPP 26 #include <RCF/Export.hpp> 27 #include <RCF/IpAddress.hpp> 31 class ServerTransport;
32 class ClientTransport;
48 std::string getIp()
const;
54 std::string asString()
const;
64 std::unique_ptr<ServerTransport> createServerTransport()
const;
65 std::unique_ptr<ClientTransport> createClientTransport()
const;
72 return mIpAddress < rhs.mIpAddress;
82 TcpEndpointV4(
const std::string & ip,
int port);
88 TcpEndpointV6(
const std::string & ip,
int port);
93 #endif // ! INCLUDE_RCF_TCPENDPOINT_HPP std::shared_ptr< Endpoint > EndpointPtr
Reference counted wrapper for RCF::Endpoint.
Definition: RcfFwd.hpp:118
Represents a TCP endpoint.
Definition: TcpEndpoint.hpp:35
Base class for all network endpoint types.
Definition: Endpoint.hpp:41
Definition: AmiIoHandler.hpp:24
Represents an IP address (IPv4 or IPv6).
Definition: IpAddress.hpp:67