10 mCheckRequestUri(true)
16 mCSeq(
Data::from(req.header(h_CSeq))),
17 mTag(req.header(h_From).exists(p_tag) ? req.header(h_From).param(p_tag) :
Data::Empty),
18 mCallId(req.header(h_CallID).value()),
19 mCheckRequestUri(checkRequestUri)
26 return (mCallId == other.mCallId &&
28 mCSeq == other.mCSeq &&
29 (!mCheckRequestUri || (mRequestUri == other.mRequestUri)));
35 return !(*
this == other);
41 if ( mCallId < other.mCallId)
45 else if (mCallId > other.mCallId)
50 if (mTag < other.mTag)
54 else if (mTag > other.mTag)
61 return (mCSeq < other.mCSeq);
65 if (mCSeq < other.mCSeq)
69 else if (mCSeq > other.mCSeq)
74 return (mRequestUri < other.mRequestUri);
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
bool operator==(const MergedRequestKey &other) const
bool operator!=(const MergedRequestKey &other) const
static const MergedRequestKey Empty
bool operator<(const MergedRequestKey &other) const
Represents a SIP message.
dcm! – add UnusedChecking(_enum) below;
RequestLineType h_RequestLine