getCounterpartyFlowInfo

abstract fun getCounterpartyFlowInfo(maySkipCheckpoint: Boolean): FlowInfo

Returns a FlowInfo object describing the flow counterparty is using. With FlowInfo.flowVersion it provides the necessary information needed for the evolution of flows and enabling backwards compatibility.

This method can be called before any send or receive has been done with counterparty. In such a case this will force them to start their flow.

Parameters

maySkipCheckpoint

setting it to true indicates to the platform that it may optimise away the checkpoint.


Returns a FlowInfo object describing the flow counterparty is using. With FlowInfo.flowVersion it provides the necessary information needed for the evolution of flows and enabling backwards compatibility.

This method can be called before any send or receive has been done with counterparty. In such a case this will force them to start their flow.