Package org.jivesoftware.smackx.ox_im
Interface OxMessageListener
-
public interface OxMessageListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
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
-OpenPgpContact
which sent the message.originalMessage
- the received message that is carrying the encryptedOpenPgpElement
.decryptedPayload
- decryptedSigncryptElement
which is carrying the payload.metadata
- metadata about the encryption and signing- See Also:
- XEP-0374: OpenPGP for XMPP: Instant Messaging (OX-IM)
-
-