Interface MamdaMsgListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onMsg​(MamdaSubscription subscription, com.wombat.mama.MamaMsg msg, short msgType)
      Invoked for each message received for the subscription to which the Listener is registered.
    • Method Detail

      • onMsg

        void onMsg​(MamdaSubscription subscription,
                   com.wombat.mama.MamaMsg msg,
                   short msgType)
        Invoked for each message received for the subscription to which the Listener is registered.
        Parameters:
        subscription - The MamdaSubscription to which this listener was registered.
        msg - The MamaMsg received by the underlying MAMA API and which resulted in this callback being invoked.
        msgType - The message type. e.g. INITIAL, RECAP, UPDATE etc.