Hi David,
thanks! and welcome;)
1. Yes. However, you can have all components and a router in a single process talking over a function-call based pseudo transport.
2. There is none to my knowledge.
3. A basic router for dev and demo purposes: medium. A production quality, secure and scalable one: non trivial.
Cheers,
/Tobias
Sent from Mobile (Google Nexus 5)
--
You received this message because you are subscribed to the Google Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send an email to autobahnws+...@googlegroups.com.
To post to this group, send email to autob...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/autobahnws/6c3d6b38-bdbb-41f6-b6da-8465b8c9c381%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
template<typename IStream, typename OStream>boost::future<uint64_t> session<IStream, OStream>::join(const std::string& realm){ // [HELLO, Realm|uri, Details|dict]
m_packer.pack_array(3);
m_packer.pack(static_cast<int> (msg_code::HELLO)); m_packer.pack(realm);
m_packer.pack_map(1); m_packer.pack(std::string("roles"));
m_packer.pack_map(4);
m_packer.pack(std::string("caller")); m_packer.pack_map(0);
m_packer.pack(std::string("callee")); m_packer.pack_map(0);
m_packer.pack(std::string("publisher")); m_packer.pack_map(0);
m_packer.pack(std::string("subscriber")); m_packer.pack_map(0);
send();
return m_session_join.get_future();}
template<typename IStream, typename OStream>void session<IStream, OStream>::send(){
if (!m_stopped) { if (m_debug) { std::cerr << "TX message (" << m_buffer.size() << " octets) ..." << std::endl; }
std::size_t written = 0;
// write message length prefix uint32_t len = htonl(m_buffer.size()); written += boost::asio::write(m_out, boost::asio::buffer((char*) &len, sizeof(len)));
// write actual serialized message written += boost::asio::write(m_out, boost::asio::buffer(m_buffer.data(), m_buffer.size()));
if (m_debug) { std::cerr << "TX message sent (" << written << " / " << (sizeof(len) + m_buffer.size()) << " octets)" << std::endl; } } else { if (m_debug) { std::cerr << "TX message skipped since session stopped (" << m_buffer.size() << " octets)." << std::endl; } }
// clear serialization buffer m_buffer.clear();}
> <mailto:autobahnws+unsub...@googlegroups.com>.
> > <mailto:autobahnws+unsub...@googlegroups.com>.
> > To post to this group, send email to autob...@googlegroups.com
> > <mailto:autob...@googlegroups.com>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/autobahnws/d8d679ab-cab1-46d1-b429-a95822b0155b%40googlegroups.com
> <https://groups.google.com/d/msgid/autobahnws/d8d679ab-cab1-46d1-b429-a95822b0155b%40googlegroups.com>
>
> >
> <https://groups.google.com/d/msgid/autobahnws/d8d679ab-cab1-46d1-b429-a95822b0155b%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/autobahnws/d8d679ab-cab1-46d1-b429-a95822b0155b%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> > For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Autobahn" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to autobahnws+...@googlegroups.com
> <mailto:autobahnws+unsub...@googlegroups.com>.
Am 19.12.2014 17:33, schrieb David Chappelle:
CPython is not supported, but a modern C++11/Boost environment is?
That's at least unusual, but ok.