|
reSIProcate/DialogUsageManager
9694
|
This class creates registration requests on behalf of a client. More...
#include <RegistrationCreator.hxx>


Public Member Functions | |
| RegistrationCreator (DialogUsageManager &dum, const NameAddr &target, SharedPtr< UserProfile > userProfile, UInt32 RegistrationTime) | |
This class creates registration requests on behalf of a client.
It has nothing to do with server handling of registration requests.
Definition at line 17 of file RegistrationCreator.hxx.
| RegistrationCreator::RegistrationCreator | ( | DialogUsageManager & | dum, |
| const NameAddr & | target, | ||
| SharedPtr< UserProfile > | userProfile, | ||
| UInt32 | RegistrationTime | ||
| ) |
Definition at line 12 of file RegistrationCreator.cxx.
References DebugLog, resip::Data::Empty, h_RequestLine, resip::BaseCreator::makeInitialRequest(), resip::BaseCreator::mLastRequest, and resip::ClientRegistration::tagContact().
: BaseCreator(dum, userProfile) { makeInitialRequest(target, target, REGISTER); mLastRequest->header(h_RequestLine).uri().user() = Data::Empty; mLastRequest->header(h_Expires).value() = registrationTime; // Tag Contact with rInstance, InstanceId, regId, and/or methods parameter according to profile settings ClientRegistration::tagContact(mLastRequest->header(h_Contacts).front(), dum, userProfile); DebugLog ( << "RegistrationCreator::RegistrationCreator: " << mLastRequest); }

1.7.5.1