Interface Publisher<T,​S extends Subscriber<T>>

    • Method Detail

      • publish

        void publish​(java.lang.String subscriptionId,
                     java.util.Map<java.lang.String,​java.lang.Object> params)
              throws java.io.IOException
        Request Publisher to send data.
        Parameters:
        subscriptionId - the identifier for Subscriber who will consume the event
        params - the data that needs to be sent to the Subscriber
        Throws:
        java.io.IOException - an exception is thrown if the params cannot be serialized