< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
In resip/recon/ConversationManager.hxx:
> @@ -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, view it on GitHub, or mute the thread.