Package org.jivesoftware.smackx.ox_im
Interface OxMessageListener
public interface OxMessageListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
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:
-