18 #ifndef INCLUDE_RCF_TCPENDPOINT_HPP 19 #define INCLUDE_RCF_TCPENDPOINT_HPP 25 #include <RCF/Export.hpp> 26 #include <RCF/IpAddress.hpp> 30 class ServerTransport;
31 class ClientTransport;
47 std::string getIp()
const;
53 std::string asString()
const;
63 std::unique_ptr<ServerTransport> createServerTransport()
const;
64 std::unique_ptr<ClientTransport> createClientTransport()
const;
71 return mIpAddress < rhs.mIpAddress;
81 TcpEndpointV4(
const std::string & ip,
int port);
87 TcpEndpointV6(
const std::string & ip,
int port);
92 #endif // ! INCLUDE_RCF_TCPENDPOINT_HPP std::shared_ptr< Endpoint > EndpointPtr
Reference counted wrapper for RCF::Endpoint.
Definition: RcfFwd.hpp:117
Represents a TCP endpoint.
Definition: TcpEndpoint.hpp:34
Base class for all network endpoint types.
Definition: Endpoint.hpp:40
Definition: AmiIoHandler.hpp:23
Represents an IP address (IPv4 or IPv6).
Definition: IpAddress.hpp:66