14#define RESIPROCATE_SUBSYSTEM ReconSubsystem::RECON
18 mUserAgent(userAgent),
19 mConversationProfileHandle(handle),
33 return mConversationProfileHandle;
42 if(mRegistrationHandle.
isValid())
47 mRegistrationHandle->end();
60 if (mRegistrationHandle.
isValid())
62 mRegistrationHandle->requestRefresh();
72 if(mRegistrationHandle.
isValid())
74 return mRegistrationHandle->allContacts();
85 return mLastServerTuple;
95 InfoLog(<<
"onSuccess(ClientRegistrationHandle): " << msg.
brief());
99 mRegistrationHandle = h;
122 mRegistrationHandle = h;
141 InfoLog(<<
"onRemoved(ClientRegistrationHandle): " << msg.
brief());
148 InfoLog(<<
"onRequestRetry(ClientRegistrationHandle): " << msg.
brief());
#define WarningLog(args_)
virtual int onRequestRetry(resip::ClientRegistrationHandle h, int retryMinimum, const resip::SipMessage &msg)
const resip::Tuple & getLastServerTuple()
virtual void onRemoved(resip::ClientRegistrationHandle h, const resip::SipMessage &response)
virtual void onFailure(resip::ClientRegistrationHandle h, const resip::SipMessage &response)
virtual void onSuccess(resip::ClientRegistrationHandle h, const resip::SipMessage &response)
const resip::NameAddrs & getContactAddresses()
virtual bool forceRefresh()
ConversationProfileHandle getConversationProfileHandle()
UserAgentRegistration(UserAgent &userAgent, resip::DialogUsageManager &dum, unsigned int handle)
virtual ~UserAgentRegistration()
This class is one of two main classes of concern to an application using the UserAgent library.
void registerRegistration(UserAgentRegistration *)
void unregisterRegistration(UserAgentRegistration *)
The abstract base-class for all exceptions thrown by resip code.
virtual Brief brief() const
return a facet for brief encoding of message
Represents a SIP message.
const Tuple & getSource() const
Returns the source tuple that the message was received from only makes sense for messages received fr...
Represents a network address.
unsigned int ConversationProfileHandle
dcm! – add UnusedChecking(_enum) below;