[reSIProcate] [resiprocate/resiprocate] send/receive text message mechanism through MESSAGE message (#53)
Mateus Augusto Bellomo Agrello Ruivo
notifications at github.com
Tue Aug 9 13:26:43 CDT 2016
> @@ -483,6 +486,18 @@ public:
> virtual void onDtmfEvent(ParticipantHandle partHandle, int dtmf, int duration, bool up) = 0;
>
> ///////////////////////////////////////////////////////////////////////
> + // Pager Message Handlers /////////////////////////////////////////////
> + ///////////////////////////////////////////////////////////////////////
> +
> + virtual void onMessageArrived(resip::ServerPagerMessageHandle handle, const resip::SipMessage& message) = 0;
> + // Called when a MESSAGE has been successfully sent
> + virtual void onSuccess(resip::ClientPagerMessageHandle handle, const resip::SipMessage& status) = 0;
> + // Application could re-page the failed contents or just ingore it.
> + virtual void onFailure(resip::ClientPagerMessageHandle handle, const resip::SipMessage& status, std::auto_ptr<resip::Contents> contents) = 0;
> +
> + const char* sendMessage(const resip::NameAddr& destination, const resip::Data& msg, const resip::Mime& mimeType);
Do you think it's better to create another class at resip/recon that handles all the text message stuff? Then I could make this new class extend the ServerPagerMessageHandler and ClientPagerMessageHandler as I'm doing with resip/recon/ConversationManager now.
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/resiprocate/resiprocate/pull/53/files/9e3b4ac1410cb4a880dfbe7a68727478b961d5c0#r74116690
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20160809/4fe50ae1/attachment.htm>
More information about the resiprocate-devel
mailing list