aries / net.globalid.aries.features.trustping.record / TrustPingRecord / ReceivedPing

ReceivedPing

@JsonClass(true) data class ReceivedPing : TrustPingRecord

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.

Constructors

<init>

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.

ReceivedPing(id: String, comment: String?, responseRequested: Boolean, threadId: String, connectionContext: ConnectionContext)

Properties

comment

val comment: String?

connectionContext

val connectionContext: ConnectionContext

id

is the ID of the wallet record.

val id: String

responseRequested

val responseRequested: Boolean

threadId

val threadId: String