Package-level declarations

Types

Link copied to clipboard
data class CollectParcelsArgs(val nonceSigners: List<Signer>, val streamingMode: StreamingMode?)

Arguments passed to the collectParcels() method of the PDC client.

Link copied to clipboard
class CollectParcelsCall(result: Result<Flow<ParcelCollection>>) : MockMethodCall<CollectParcelsArgs, Flow<ParcelCollection>>

Mock call to collect parcels.

Link copied to clipboard
data class DeliverParcelArgs(val parcelSerialized: ByteArray, val deliverySigner: Signer)

Arguments passed to the deliverParcel() method of the PDC client.

Link copied to clipboard

Mock call to deliver a parcel.

Link copied to clipboard
Link copied to clipboard
class MockPDCClient(calls: MockMethodCall<*, *>) : PDCClient

PDC client implementation whose methods are mocked.

Link copied to clipboard
data class PreRegisterNodeArgs(val nodePublicKey: PublicKey)

Arguments passed to the preRegisterNode() method of the PDC client.

Link copied to clipboard
class PreRegisterNodeCall(result: Result<PrivateNodeRegistrationRequest>) : MockMethodCall<PreRegisterNodeArgs, PrivateNodeRegistrationRequest>

Mock call to pre-register a private node.

Link copied to clipboard
data class RegisterNodeArgs(val pnrrSerialized: ByteArray)

Arguments passed to the registerNode() method of the PDC client.

Link copied to clipboard
class RegisterNodeCall(result: Result<PrivateNodeRegistration>) : MockMethodCall<RegisterNodeArgs, PrivateNodeRegistration>

Mock call to register a private node.