1#if !defined(RESIP_CLIENTDIALOG_HXX)
2#define RESIP_CLIENTDIALOG_HXX
22class DialogUsageManager;
35 const char*
name() const noexcept
override {
return "Dialog::Exception"; }
117 void handleTargetRefresh(
const SipMessage& msg);
118 void handlePendingTargetRefresh(
const SipMessage& msg);
120 void flowTerminated();
126 std::list<ClientSubscription*> mClientSubscriptions;
127 std::list<ServerSubscription*> mServerSubscriptions;
145 unsigned int mLocalCSeq;
146 unsigned int mRemoteCSeq;
148 unsigned int mPendingRemoteTargetCSeq;
157 typedef std::map<int, std::shared_ptr<SipMessage>> RequestMap;
158 RequestMap mRequests;
163 bool mReUseDialogSet;
The abstract base-class for all exceptions thrown by resip code.
Represents the "callid" element in the SIP grammar.
dcm! – shutdown/deletion API – end?
dcm! – update contact in dialog if required
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
const char * name() const noexcept override
dcm! – kill typedef std::list<DialogId> DialogIdSet;
friend EncodeStream & operator<<(EncodeStream &strm, const Dialog &dialog)
const NameAddr & getRemoteNameAddr() const noexcept
std::vector< ClientSubscriptionHandle > findClientSubscriptions(const Data &event)
const NameAddr & getRemoteTarget() const noexcept
const NameAddr & getLocalNameAddr() const noexcept
void redirected(const SipMessage &msg)
const NameAddr & getLocalContact() const noexcept
void makeRequest(SipMessage &request, MethodTypes method, bool incrementCSeq=true)
bool isDestroying() const noexcept
void end(const Data &endReason, const ParserContainer< Token > &endReasons)
const DialogId & getId() const noexcept
const NameAddrs & getRouteSet() const noexcept
void setRequestNextCSeq(SipMessage &request)
InviteSessionHandle getInviteSession()
void processNotify(const SipMessage ¬ify)
std::vector< ServerSubscriptionHandle > getServerSubscriptions()
std::vector< ServerSubscriptionHandle > findServerSubscriptions(const Data &event)
void dispatch(const SipMessage &msg)
void makeResponse(SipMessage &response, const SipMessage &request, int responseCode)
const NameAddr & getPendingRemoteTarget() const
std::vector< ClientSubscriptionHandle > getClientSubscriptions()
void send(std::shared_ptr< SipMessage > msg)
Base class for class ClientInviteSession and class ServerInviteSession.
Represents the "name-addr" and the "addr-spec" elements in the RFC 3261 grammar.
dcm! – no Subscription State expires parameter generation yet.
Represents a SIP message.
Represents the "token" element in the RFC 3261 grammar.
dcm! – add UnusedChecking(_enum) below;
EncodeStream & operator<<(EncodeStream &strm, const BaseException &e)