19 #ifndef INCLUDE_RCF_ENDPOINT_HPP
20 #define INCLUDE_RCF_ENDPOINT_HPP
25 #include <boost/shared_ptr.hpp>
27 #include <RCF/Exception.hpp>
28 #include <RCF/SerializationProtocol.hpp>
32 class ServerTransport;
33 class ClientTransport;
36 typedef boost::shared_ptr<Endpoint> EndpointPtr;
49 virtual std::auto_ptr<ServerTransport> createServerTransport()
const = 0;
50 virtual std::auto_ptr<ClientTransport> createClientTransport()
const = 0;
51 virtual EndpointPtr clone()
const = 0;
52 virtual std::string asString()
const = 0;
53 void serialize(SF::Archive &) {}
58 #include <boost/version.hpp>
60 #endif // ! INCLUDE_RCF_ENDPOINT_HPP