TwoPartyDealFlow.Handshake - corda

corda / net.corda.finance.flows / TwoPartyDealFlow / Handshake

# Handshake

`data class Handshake<out T>`

This object is serialised to the network and is the first flow message the seller sends to the buyer.

### Parameters

`primaryIdentity` - the (anonymised) identity of the participant that initiates communication/handshake.

`secondaryIdentity` - the (anonymised) identity of the participant that is recipient of initial communication.

### Constructors

#### <init> | This object is serialised to the network and is the first flow message the seller sends to the buyer. `Handshake(payload: T, primaryIdentity: AnonymousParty, secondaryIdentity: AnonymousParty)`

### Properties

#### payload | `val payload: T`
#### primaryIdentity | the (anonymised) identity of the participant that initiates communication/handshake. `val primaryIdentity: AnonymousParty`
#### secondaryIdentity | the (anonymised) identity of the participant that is recipient of initial communication. `val secondaryIdentity: AnonymousParty`