Package org.jivesoftware.smackx.omemo
Class AbstractOmemoMessageListener
java.lang.Object
org.jivesoftware.smackx.omemo.AbstractOmemoMessageListener
- All Implemented Interfaces:
org.jivesoftware.smackx.omemo.listener.OmemoMessageListener
public class AbstractOmemoMessageListener
extends Object
implements org.jivesoftware.smackx.omemo.listener.OmemoMessageListener
Convenience class. This listener is used so that implementers of OmemoMessageListener don't have to implement
both messages. Instead they can just overwrite the message they want to implement.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onOmemoCarbonCopyReceived
(org.jivesoftware.smackx.carbons.packet.CarbonExtension.Direction direction, org.jivesoftware.smack.packet.Message carbonCopy, org.jivesoftware.smack.packet.Message wrappingMessage, org.jivesoftware.smackx.omemo.OmemoMessage.Received decryptedCarbonCopy) void
onOmemoMessageReceived
(org.jivesoftware.smack.packet.Stanza stanza, org.jivesoftware.smackx.omemo.OmemoMessage.Received decryptedMessage)
-
Constructor Details
-
AbstractOmemoMessageListener
public AbstractOmemoMessageListener()
-
-
Method Details
-
onOmemoMessageReceived
public void onOmemoMessageReceived(org.jivesoftware.smack.packet.Stanza stanza, org.jivesoftware.smackx.omemo.OmemoMessage.Received decryptedMessage) - Specified by:
onOmemoMessageReceived
in interfaceorg.jivesoftware.smackx.omemo.listener.OmemoMessageListener
-
onOmemoCarbonCopyReceived
public void onOmemoCarbonCopyReceived(org.jivesoftware.smackx.carbons.packet.CarbonExtension.Direction direction, org.jivesoftware.smack.packet.Message carbonCopy, org.jivesoftware.smack.packet.Message wrappingMessage, org.jivesoftware.smackx.omemo.OmemoMessage.Received decryptedCarbonCopy) - Specified by:
onOmemoCarbonCopyReceived
in interfaceorg.jivesoftware.smackx.omemo.listener.OmemoMessageListener
-