|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
dcm! – update contact in dialog if required More...
#include <ClientSubscription.hxx>
Public Types | |
| typedef Handle< ClientSubscription > | ClientSubscriptionHandle |
Public Types inherited from resip::Handled | |
| enum | { npos = 0 } |
| typedef unsigned long | Id |
Public Member Functions | |
| ClientSubscription (DialogUsageManager &dum, Dialog &dialog, const SipMessage &request) | |
| ClientSubscription (const ClientSubscription &)=delete | |
| ClientSubscription (ClientSubscription &&)=delete | |
| ClientSubscription & | operator= (const ClientSubscription &)=delete |
| ClientSubscription & | operator= (ClientSubscription &&)=delete |
| ClientSubscriptionHandle | getHandle () |
| void | acceptUpdate (int statusCode=200, const char *reason=nullptr) |
| void | rejectUpdate (int statusCode=400, const Data &reasonPhrase=Data::Empty) |
| void | requestRefresh (uint32_t expires=0) |
| void | end () override |
| void | end (bool immediate) |
| virtual void | reSubscribe () |
| void | acceptUpdateCommand (int statusCode=200, const char *reason=nullptr) |
| Provide asynchronous method access by using command. | |
| void | rejectUpdateCommand (int statusCode=400, const Data &reasonPhrase=Data::Empty) |
| void | requestRefreshCommand (uint32_t expires=0) |
| virtual void | endCommand (bool immediate=false) |
| EncodeStream & | dump (EncodeStream &strm) const override |
Public Member Functions inherited from resip::BaseSubscription | |
| BaseSubscription (const BaseSubscription &)=delete | |
| BaseSubscription (BaseSubscription &&)=delete | |
| BaseSubscription & | operator= (const BaseSubscription &)=delete |
| BaseSubscription & | operator= (BaseSubscription &&)=delete |
| bool | matches (const SipMessage &subOrNotify) |
| const Data & | getDocumentKey () const noexcept |
| const Data & | getEventType () const noexcept |
| const Data & | getId () const noexcept |
Public Member Functions inherited from resip::DialogUsage | |
| AppDialogSetHandle | getAppDialogSet () const |
| AppDialogHandle | getAppDialog () const |
| const NameAddr & | myAddr () const noexcept |
| const NameAddr & | peerAddr () const noexcept |
| const NameAddr & | remoteTarget () const noexcept |
| const NameAddr & | pendingRemoteTarget () const |
| const NameAddrs & | getRouteSet () const noexcept |
| const DialogId & | getDialogId () const |
| const Data & | getCallId () const |
| std::shared_ptr< UserProfile > | getUserProfile () const |
Public Member Functions inherited from resip::BaseUsage | |
| virtual void | postDum (Message *messageForDum) |
| posts a message on dum | |
Public Member Functions inherited from resip::Handled | |
| Handled (HandleManager &ham) | |
| virtual | ~Handled () |
Protected Member Functions | |
| virtual | ~ClientSubscription () |
| virtual void | onReadyToSend (SipMessage &msg) override |
| virtual void | send (std::shared_ptr< SipMessage > msg) override |
| virtual void | flowTerminated () |
Protected Member Functions inherited from resip::BaseSubscription | |
| BaseSubscription (DialogUsageManager &dum, Dialog &dialog, const SipMessage &request) | |
| SubscriptionState | getSubscriptionState () const noexcept |
| virtual | ~BaseSubscription ()=default |
Protected Member Functions inherited from resip::DialogUsage | |
| virtual void | sendCommand (std::shared_ptr< SipMessage > msg) |
| DialogUsage (DialogUsageManager &dum, Dialog &dialog) | |
| virtual | ~DialogUsage () |
Protected Member Functions inherited from resip::BaseUsage | |
| BaseUsage (DialogUsageManager &dum) | |
| virtual | ~BaseUsage () |
| BaseUsageHandle | getBaseHandle () const |
Friends | |
| class | Dialog |
| class | InviteSession |
Additional Inherited Members | |
Protected Types inherited from resip::BaseSubscription | |
| enum | SubDlgState { SubDlgInitial , SubDlgEstablished , SubDlgTerminating } |
Protected Attributes inherited from resip::BaseSubscription | |
| SubDlgState | mSubDlgState |
| std::shared_ptr< SipMessage > | mLastRequest |
| std::shared_ptr< SipMessage > | mLastResponse |
| Data | mDocumentKey |
| Data | mEventType |
| Data | mSubscriptionId |
| unsigned int | mTimerSeq |
| SubscriptionState | mSubscriptionState |
Protected Attributes inherited from resip::DialogUsage | |
| Dialog & | mDialog |
Protected Attributes inherited from resip::BaseUsage | |
| DialogUsageManager & | mDum |
Protected Attributes inherited from resip::Handled | |
| HandleManager & | mHam |
| Handled::Id | mId |
dcm! – update contact in dialog if required
Definition at line 14 of file ClientSubscription.hxx.
Definition at line 24 of file ClientSubscription.hxx.
| ClientSubscription::ClientSubscription | ( | DialogUsageManager & | dum, |
| Dialog & | dialog, | ||
| const SipMessage & | request | ||
| ) |
Definition at line 21 of file ClientSubscription.cxx.
|
delete |
|
delete |
|
protectedvirtual |
Definition at line 46 of file ClientSubscription.cxx.
| void ClientSubscription::acceptUpdate | ( | int | statusCode = 200, |
| const char * | reason = nullptr |
||
| ) |
Definition at line 651 of file ClientSubscription.cxx.
| void ClientSubscription::acceptUpdateCommand | ( | int | statusCode = 200, |
| const char * | reason = nullptr |
||
| ) |
Provide asynchronous method access by using command.
Definition at line 701 of file ClientSubscription.cxx.
|
overridevirtual |
Implements resip::BaseUsage.
Definition at line 818 of file ClientSubscription.cxx.
|
overridevirtual |
Implements resip::BaseUsage.
Definition at line 582 of file ClientSubscription.cxx.
| void ClientSubscription::end | ( | bool | immediate | ) |
Definition at line 588 of file ClientSubscription.cxx.
|
virtual |
Definition at line 645 of file ClientSubscription.cxx.
|
protectedvirtual |
Definition at line 833 of file ClientSubscription.cxx.
| ClientSubscriptionHandle ClientSubscription::getHandle | ( | ) |
Definition at line 61 of file ClientSubscription.cxx.
|
overrideprotectedvirtual |
Reimplemented from resip::DialogUsage.
Definition at line 825 of file ClientSubscription.cxx.
|
delete |
|
delete |
| void ClientSubscription::rejectUpdate | ( | int | statusCode = 400, |
| const Data & | reasonPhrase = Data::Empty |
||
| ) |
Definition at line 736 of file ClientSubscription.cxx.
| void ClientSubscription::rejectUpdateCommand | ( | int | statusCode = 400, |
| const Data & | reasonPhrase = Data::Empty |
||
| ) |
Definition at line 812 of file ClientSubscription.cxx.
| void ClientSubscription::requestRefresh | ( | uint32_t | expires = 0 | ) |
dcm! – need a mechanism to retrieve this for the event package...part of
Definition at line 516 of file ClientSubscription.cxx.
| void ClientSubscription::requestRefreshCommand | ( | uint32_t | expires = 0 | ) |
Definition at line 576 of file ClientSubscription.cxx.
|
virtual |
Definition at line 707 of file ClientSubscription.cxx.
|
overrideprotectedvirtual |
Reimplemented from resip::DialogUsage.
Definition at line 718 of file ClientSubscription.cxx.
|
friend |
Definition at line 51 of file ClientSubscription.hxx.
|
friend |
Definition at line 52 of file ClientSubscription.hxx.