13 mLastUpdated(
Timer::getTimeSecs()),
16 mUseFlowRouting(false),
146 bool success =
false;
287 if (contact.
exists(p_Instance))
291 if (contact.
exists(p_regid))
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Data xmlCharDataDecode() const
Performs in-place XML Character Data un-escaping of a Data.
Data base64decode() const
Performs RFC 3548 Base 64 decoding of the contents of this data.
Data base64encode(bool useUrlSafe=false) const
Performs RFC 3548 Base 64 encoding of the contents of this data.
unsigned long convertUnsignedLong() const
Data xmlCharDataEncode() const
Performs in-place XML Character Data escaping of a Data.
uint64_t convertUInt64() const
Takes the contents of the Data and converts them to an unsigned 64-bit integer.
bool empty() const noexcept
Checks whether the Data is empty.
size_type size() const noexcept
Returns the number of bytes in this Data.
static Data from(const T &x)
Converts from arbitrary other type to Data.
static Tuple getClientPublicAddress(const SipMessage &request)
Look at Via headers, and find the first public IP address closest to the sending client.
Represents the "name-addr" and the "addr-spec" elements in the RFC 3261 grammar.
bool exists(const Param< NameAddr > ¶mType) const
const Data & param(const ExtensionParameter ¶m) const
Const accessor for non-natively-supported parameter types.
iterator end()
Returns an iterator pointing to the last header field value.
iterator begin()
Returns an iterator pointing to the first header field value.
void push_back(const T &t)
Inserts a header field value at the back of this container.
Represents a SIP message.
const RequestLine & header(const RequestLineType &l) const
Returns the RequestLine. This is only valid for request messages.
bool exists(const HeaderBase &headerType) const
Returns true if the given header field is present, false otherwise.
const Tuple & getSource() const
Returns the source tuple that the message was received from only makes sense for messages received fr...
This class is used to get the current system time.
static uint64_t getTimeSecs()
Returns the current clock time in seconds.
static Tuple makeTupleFromBinaryToken(const Data &binaryToken, const Data &salt=Data::Empty)
static void writeBinaryToken(const Tuple &tuple, Data &container, const Data &salt=Data::Empty)
TransportType getType() const
const Data & getValue() const
const Data & getTag() const
dcm! – add UnusedChecking(_enum) below;
bool isEqualNoCase(const Data &left, const Data &right)
unsigned long long uint64_t