10 std::shared_ptr<UserProfile> userProfile,
19 mLastRequest->header(h_Expires).value() = subscriptionTime;
24 std::shared_ptr<UserProfile> userProfile,
29 mRefreshInterval(refreshInterval)
34 mLastRequest->header(h_Expires).value() = subscriptionTime;
39 std::shared_ptr<UserProfile> userProfile,
40 const H_ReferTo::Type& referTo)
52 return mRefreshInterval > 0;
58 return mRefreshInterval;
void makeInitialRequest(const NameAddr &target, MethodTypes method)
std::shared_ptr< SipMessage > mLastRequest
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Represents the "name-addr" and the "addr-spec" elements in the RFC 3261 grammar.
bool hasRefreshInterval() const noexcept
SubscriptionCreator(DialogUsageManager &dum, const NameAddr &target, std::shared_ptr< UserProfile > userProfile, const Data &event, uint32_t subscriptionTime)
int getRefreshInterval() const noexcept
dcm! – add UnusedChecking(_enum) below;