TwoPartyDealFlow.Handshake.<init> - corda

corda / net.corda.finance.flows / TwoPartyDealFlow / Handshake / <init>

# <init>

`Handshake(payload: T, primaryIdentity: AnonymousParty, secondaryIdentity: AnonymousParty)`

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.