Add support for Beast Websockets (RIPD-1097)

This commit is contained in:
Miguel Portilla
2016-03-25 17:13:46 -04:00
committed by Howard Hinnant
parent f45e279e06
commit d7a778ce6a
11 changed files with 294 additions and 158 deletions

View File

@@ -43,12 +43,17 @@ InfoSub::Source::Source (char const* name, Stoppable& parent)
//------------------------------------------------------------------------------
InfoSub::InfoSub (Source& source, Consumer consumer)
: m_consumer (consumer)
, m_source (source)
InfoSub::InfoSub(Source& source)
: m_source(source)
, mSeq(assign_id())
{
}
InfoSub::InfoSub(Source& source, Consumer consumer)
: m_consumer(consumer)
, m_source(source)
, mSeq(assign_id())
{
static std::atomic <int> s_seq_id (0);
mSeq = ++s_seq_id;
}
InfoSub::~InfoSub ()