31 #include <boost/thread.hpp>
37 #ifdef RSB_WITH_SPREAD_TRANSPORT
43 #ifdef RSB_WITH_SOCKET_TRANSPORT
67 #ifdef RSB_WITH_SPREAD_TRANSPORT
72 GOOGLE_PROTOBUF_VERIFY_VERSION;
80 &inprocess::InPushConnector::create,
84 #ifdef RSB_WITH_SPREAD_TRANSPORT
87 options.insert(
"host");
88 options.insert(
"port");
91 &spread::InPushConnector::create,
98 #ifdef RSB_WITH_SOCKET_TRANSPORT
101 options.insert(
"host");
102 options.insert(
"port");
103 options.insert(
"server");
104 options.insert(
"tcpnodelay");
107 &socket::InPushConnector::create,
121 &inprocess::InPullConnector::create,
125 #ifdef RSB_WITH_SPREAD_TRANSPORT
128 options.insert(
"host");
129 options.insert(
"port");
132 &spread::InPullConnector::create,
139 #ifdef RSB_WITH_SOCKET_TRANSPORT
142 options.insert(
"host");
143 options.insert(
"port");
144 options.insert(
"server");
145 options.insert(
"tcpnodelay");
148 &socket::InPullConnector::create,
161 &inprocess::OutConnector::create,
165 #ifdef RSB_WITH_SPREAD_TRANSPORT
168 options.insert(
"host");
169 options.insert(
"port");
170 options.insert(
"maxfragmentsize");
173 &spread::OutConnector::create,
180 #ifdef RSB_WITH_SOCKET_TRANSPORT
183 options.insert(
"host");
184 options.insert(
"port");
185 options.insert(
"server");
186 options.insert(
"tcpnodelay");
189 &socket::OutConnector::create,
202 bool validResult =
false;
209 }
catch (
const rsc::runtime::NoSuchObject&) {
215 if (validResult && (remote != info.
isRemote())) {
216 throw std::logic_error(
"connectors of one transport disagree about remoteness.");
220 }
catch (
const rsc::runtime::NoSuchObject&) {
226 if (validResult && (remote != info.
isRemote())) {
227 throw std::logic_error(
"connectors of one transport disagree about remoteness.");
231 }
catch (
const rsc::runtime::NoSuchObject&) {
234 throw rsc::runtime::NoSuchObject(transportName);