mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add support for Beast Websockets (RIPD-1097)
This commit is contained in:
committed by
Howard Hinnant
parent
f45e279e06
commit
d7a778ce6a
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user