public interface MessageProducer
Modifier and Type | Method and Description |
---|---|
void |
listen(MessageConsumer messageConsumer)
Listen to a message source and forward all messages to the given consumer.
|
void listen(MessageConsumer messageConsumer) throws JsonRpcException
JsonRpcException
- when accessing the JSON-RPC communication channel fails