Interface MessageProducer

    • Method Detail

      • listen

        void listen​(MessageConsumer messageConsumer)
             throws JsonRpcException
        Listen to a message source and forward all messages to the given consumer. Typically this method blocks until the message source is unable to deliver more messages.
        Throws:
        JsonRpcException - when accessing the JSON-RPC communication channel fails