Class MamaTransportTopicListener


  • public class MamaTransportTopicListener
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onTopicSubscribe​(short cause, java.lang.Object platformInfo)
      Invoked when a topic is subscribed to
      void onTopicUnsubscribe​(short cause, java.lang.Object platformInfo)
      Invoked when a topic is unsubscribed to
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MamaTransportTopicListener

        public MamaTransportTopicListener()
    • Method Detail

      • onTopicSubscribe

        public void onTopicSubscribe​(short cause,
                                     java.lang.Object platformInfo)
        Invoked when a topic is subscribed to
        Parameters:
        cause - The cause of the topic subscription
        platformInfo - Info associated with the topic subscription The cause and platformInfo are supplied only by some middlewares. The information provided by platformInfo is middleware specific. The following middlewares are supported: tibrv: provides the String object version of the tibrv advisory message Wombat Middleware
      • onTopicUnsubscribe

        public void onTopicUnsubscribe​(short cause,
                                       java.lang.Object platformInfo)
        Invoked when a topic is unsubscribed to
        Parameters:
        cause - The cause of the topic unsubscription
        platformInfo - Info associated with the topic unsubscription The cause and platformInfo are supplied only by some middlewares. The information provided by platformInfo is middleware specific. The following middlewares are supported: tibrv: provides the String object version of the tibrv advisory message Wombat Middleware