src/main/java/com/hedera/hashgraph/identity/hcs/MessageResolver.java
/**
   * Handles incoming DID messages from DID Topic on a mirror node.
   *
   * @param envelope The parsed message envelope in a PLAIN mode.
   */
Handles incoming DID messages from DID Topic on a mirror node.
@param envelope The parsed message envelope in a PLAIN mode.
Handles incoming DID messages from DID Topic on a mirror node . @param envelope The parsed message envelope in a PLAIN mode .
private void handleMessage(final MessageEnvelope<T> envelope) {
    lastMessageArrivalTime.set(System.currentTimeMillis());
    if (!matchesSearchCriteria(envelope.open())) {
      return;
    }
    if (existingSignatures.contains(envelope.getSignature())) {
      return;
    }
    existingSignatures.add(envelope.getSignature());
    processMessage(envelope);
  }
private void handleMessage ( final MessageEnvelope < T > envelope ) { lastMessageArrivalTime . set ( System . currentTimeMillis ( ) ) ; if ( ! matchesSearchCriteria ( envelope . open ( ) ) ) { return ; } if ( existingSignatures . contains ( envelope . getSignature ( ) ) ) { return ; } existingSignatures . add ( envelope . getSignature ( ) ) ; processMessage ( envelope ) ; }
Handles incoming DID messages from DID Topic on a mirror node.
Handles incoming DID messages from DID Topic on a mirror node .
// Skip messages that are not relevant for requested DID's // Skip duplicated messages