net.corda.protocols / TwoPartyDealProtocol / Primary / getCounterpartyMarker

getCounterpartyMarker

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

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