19 #ifndef INCLUDE_RCF_UDPENDPOINT_HPP
20 #define INCLUDE_RCF_UDPENDPOINT_HPP
25 #include <boost/shared_ptr.hpp>
27 #include <RCF/Endpoint.hpp>
28 #include <RCF/Export.hpp>
29 #include <RCF/InitDeinit.hpp>
30 #include <RCF/IpAddress.hpp>
31 #include <RCF/SerializationProtocol.hpp>
32 #include <RCF/TypeTraits.hpp>
36 class ServerTransport;
37 class ClientTransport;
52 std::string getIp()
const;
54 std::string asString()
const;
56 UdpEndpoint & enableSharedAddressBinding(
bool enable =
true);
58 UdpEndpoint & listenOnMulticast(
const std::string & multicastIp);
66 std::auto_ptr<ServerTransport> createServerTransport()
const;
67 std::auto_ptr<ClientTransport> createClientTransport()
const;
68 EndpointPtr clone()
const;
73 bool mEnableSharedAddressBinding;
78 #endif // ! INCLUDE_RCF_UDPENDPOINT_HPP