HandshakeResult

open class HandshakeResult : Parcelable

Transaction statistics from a handshake with a Scatterbrain peer.

Constructors

HandshakeResult
Link copied to clipboard
fun HandshakeResult(identities: Int, messages: Int, status: HandshakeResult.TransactionStatus)

Types

Companion
Link copied to clipboard
object Companion
TransactionStatus
Link copied to clipboard
enum TransactionStatus : Enum<HandshakeResult.TransactionStatus>

Functions

describeContents
Link copied to clipboard
open override fun describeContents(): Int
from
Link copied to clipboard
fun from(stats: HandshakeResult): HandshakeResult
writeToParcel
Link copied to clipboard
open override fun writeToParcel(parcel: Parcel, i: Int)

Properties

identities
Link copied to clipboard
val identities: Int
number of identities transferred
messages
Link copied to clipboard
val messages: Int
number of messages transferred
status
Link copied to clipboard
val status: HandshakeResult.TransactionStatus
success
Link copied to clipboard
val success: Boolean
true if the transaction completed successfully