29 #include <boost/format.hpp>
36 using namespace boost;
38 using namespace rsc::logging;
51 active(false), logger(Logger::getLogger(
"rsb.transport.socket.ConnectorBase")),
52 factory(factory), host(host), port(port), server(server),
53 tcpnodelay(tcpnodelay) {
57 RSCDEBUG(
logger,
"Destructing");
61 RSCDEBUG(
logger,
"Destruction finished");
70 throw std::runtime_error(
"Cannot set scope while active");
76 RSCDEBUG(
logger,
"Activating");
90 RSCDEBUG(
logger,
"Deactivating");
This base class enables look up of suitable rsb::converter::Converter s in rsb::transport::Connector ...
virtual void deactivate()
boost::shared_ptr< Factory > FactoryPtr
virtual void setScope(const Scope &scope)
virtual Scope getScope() const
rsc::logging::LoggerPtr logger
BusPtr getBus()
Return the Bus object through which this connector is connected to a socket-based bus...
converter::ConverterSelectionStrategy< std::string >::Ptr ConverterSelectionStrategyPtr
Scope is a descriptor for a hierarchical channel of the unified bus.
boost::shared_ptr< Bus > BusPtr