1#if !defined(RESIP_DIALOGUSAGE_HXX)
2#define RESIP_DIALOGUSAGE_HXX
16class DialogUsageManager;
30 const char*
name()
const noexcept override;
56 : mDialogUsage(
usage),
63 mDialogUsage.send(mMessage);
68 return strm <<
"DialogUsageSendCommand";
72 std::shared_ptr<SipMessage> mMessage;
77 virtual void send(std::shared_ptr<SipMessage> msg);
78 virtual void sendCommand(std::shared_ptr<SipMessage> msg);
The abstract base-class for all exceptions thrown by resip code.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
DialogUsageSendCommand(DialogUsage &usage, std::shared_ptr< SipMessage > msg)
EncodeStream & encodeBrief(EncodeStream &strm) const override
output a brief description to stream
void executeCommand() override
const char * name() const noexcept override
virtual void sendCommand(std::shared_ptr< SipMessage > msg)
const NameAddr & remoteTarget() const noexcept
std::shared_ptr< UserProfile > getUserProfile() const
const NameAddr & myAddr() const noexcept
virtual void onReadyToSend(SipMessage &)
AppDialogSetHandle getAppDialogSet() const
AppDialogHandle getAppDialog() const
const NameAddr & pendingRemoteTarget() const
const DialogId & getDialogId() const
const NameAddrs & getRouteSet() const noexcept
virtual void send(std::shared_ptr< SipMessage > msg)
const NameAddr & peerAddr() const noexcept
const Data & getCallId() const
dcm! – kill typedef std::list<DialogId> DialogIdSet;
Represents the "name-addr" and the "addr-spec" elements in the RFC 3261 grammar.
Represents a SIP message.
dcm! – add UnusedChecking(_enum) below;
Handle< AppDialog > AppDialogHandle