Package org.jivesoftware.smackx.ox_im
Interface OxMessageListener
-
public interface OxMessageListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnewIncomingOxMessage(OpenPgpContact contact, Message originalMessage, SigncryptElement decryptedPayload, org.pgpainless.decryption_verification.OpenPgpMetadata metadata)This method gets invoked, whenever an OX-IM encrypted message gets received.
-
-
-
Method Detail
-
newIncomingOxMessage
void newIncomingOxMessage(OpenPgpContact contact, Message originalMessage, SigncryptElement decryptedPayload, org.pgpainless.decryption_verification.OpenPgpMetadata metadata)
This method gets invoked, whenever an OX-IM encrypted message gets received.- Parameters:
contact-OpenPgpContactwhich sent the message.originalMessage- the received message that is carrying the encryptedOpenPgpElement.decryptedPayload- decryptedSigncryptElementwhich is carrying the payload.metadata- metadata about the encryption and signing- See Also:
- XEP-0374: OpenPGP for XMPP: Instant Messaging (OX-IM)
-
-