aries / net.globalid.aries.features.trustping.record / TrustPingRecord / ReceivedPing / <init>

<init>

ReceivedPing(@Json("Id") id: String, comment: String?, responseRequested: Boolean, threadId: String, connectionContext: ConnectionContext)

Represents a trust ping record in the "received ping" state. We are in this state after receiving a ping message from the sender. If the response requested flag is false, we MUST NOT respond. If responding, we use the thread ID to make a thread decorator.

If we receive a ping, we must also have a way of responding to it. This is why this record and the SentResponse record contain a ConnectionContext.