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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    void
    onOmemoMessageReceived(org.jivesoftware.smack.packet.Stanza stanza, org.jivesoftware.smackx.omemo.OmemoMessage.Received decryptedMessage)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface org.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 interface org.jivesoftware.smackx.omemo.listener.OmemoMessageListener