src/main/java/com/hedera/hashgraph/identity/hcs/MessageListener.java
/**
   * Subscribes to mirror node topic messages stream.
   *
   * @param client   Mirror client instance.
   * @param receiver Receiver of parsed messages.
   * @return This listener instance.
   */
Subscribes to mirror node topic messages stream.
@param client   Mirror client instance.
@param receiver Receiver of parsed messages.
@return This listener instance.
Subscribes to mirror node topic messages stream . @param client Mirror client instance . @param receiver Receiver of parsed messages . @return This listener instance .
public MessageListener<T> subscribe(final Client client, final Consumer<MessageEnvelope<T>> receiver) {
    subscriptionHandle = query.subscribe(
      client,
      resp -> handleResponse(resp, receiver)
    );
    return this;
  }
public MessageListener < T > subscribe ( final Client client , final Consumer < MessageEnvelope < T > > receiver ) { subscriptionHandle = query . subscribe ( client , resp -> handleResponse ( resp , receiver ) ) ; return this ; }
Subscribes to mirror node topic messages stream.
Subscribes to mirror node topic messages stream .