Class BaseRedisPubSubListener

  • All Implemented Interfaces:
    , >, >
    Direct Known Subclasses:
    SubscribeListener

    public class BaseRedisPubSubListener
    extends 
    implements >
    Author:
    Nikita Koksharov
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void  channel,  message)
      Invokes on every message in topic
      void  pattern,  channel,  message)  
      boolean onStatus​(PubSubType type,  channel)  
      • Methods inherited from class java.lang.

        , , , , , , , , , ,
    • Constructor Detail

      • BaseRedisPubSubListener

        public BaseRedisPubSubListener()
    • Method Detail

      • onStatus

        public boolean onStatus​(PubSubType type,
                                 channel)
        Specified by:
        >
      • onMessage

        public void onMessage​( channel,
                               message)
        Description copied from interface: MessageListener
        Invokes on every message in topic
        Specified by:
        >
        Parameters:
        channel - of topic
        message - topic message
      • onPatternMessage

        public void onPatternMessage​( pattern,
                                      channel,
                                      message)
        Specified by:
        >