net.corda.flows / TwoPartyDealFlow / Primary / getCounterpartyMarker

# getCounterpartyMarker

`open fun getCounterpartyMarker(party: Party): Class<*>`
Overrides FlowLogic.getCounterpartyMarker

Return the marker Class which party has used to register the counterparty flow that is to execute on the other side. The default implementation returns the class object of this FlowLogic, but any Class instance will do as long as the other side registers with it.