1#if !defined(RESIP_DIALOG_HXX)
2#define RESIP_DIALOG_HXX
28 const char*
name() const noexcept
override {
return "Dialog::Exception"; }
121 unsigned long mRemoteSequence;
123 unsigned long mLocalSequence;
The abstract base-class for all exceptions thrown by resip code.
Represents the "callid" element in the SIP grammar.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
const char * name() const noexcept override
Exception(const resip::Data &msg, const resip::Data &file, const int line)
SipMessage * makeNotify()
const Data dialogId() const
SipMessage * makeInitialInvite(const NameAddr &target, const NameAddr &from)
const CallID & getCallId() const
SipMessage * makeSubscribe()
SipMessage * makeRegister()
SipMessage * makeInitialMessage(const NameAddr &target, const NameAddr &from)
SipMessage * makeInvite()
SipMessage * makeInitialRegister(const NameAddr ®istrar, const NameAddr &from)
SipMessage * makeRequest(MethodTypes method)
SipMessage * makeUpdate()
SipMessage * makePublish()
const NameAddr & getRemoteTarget() const
SipMessage * makeOptions()
friend EncodeStream & operator<<(EncodeStream &, const DeprecatedDialog &)
int targetRefreshRequest(const SipMessage &request)
void updateRequest(SipMessage &msg)
SipMessage * makeRefer(const NameAddr &referTo)
void setExpirySeconds(int secondsInFuture)
SipMessage * makeResponse(const SipMessage &request, int code=200)
SipMessage * makeInitialSubscribe(const NameAddr &target, const NameAddr &from)
void createDialogAsUAC(const SipMessage &response)
SipMessage * makeCancel(const SipMessage &request)
SipMessage * makeInitialPublish(const NameAddr &target, const NameAddr &from)
const Data & getRemoteTag() const
void targetRefreshResponse(const SipMessage &response)
Represents the "name-addr" and the "addr-spec" elements in the RFC 3261 grammar.
Represents a SIP message.
Represents the "SIP-URI" and "SIPS-URI" elements in the RFC 3261 grammar.
dcm! – add UnusedChecking(_enum) below;
unsigned long long uint64_t
EncodeStream & operator<<(EncodeStream &strm, const BaseException &e)