*
*
* @param fromJid the jid that send this
receipt
* @param toJid the jid
which received this
receipt
* @param receiptId the message ID of the stanza(/packet) which has
been received and this
receipt is for
* @param
receipt the
receipt
*/
void onReceiptReceived
(String fromJid, String toJid, String receiptId, Stanza
receipt);
}
有了这三个家伙确实是可以做一套消息确认的机制,但是要在客户端发送消息时发送一个
) {
System.err.println((new Date()).toString()+ " - drm:" +
receipt.toXML());