com.r3corda.protocols / TwoPartyDealProtocol / FixingRoleDecider / <init>

# <init>

`FixingRoleDecider(ref: StateRef, timeout: Duration, progressTracker: ProgressTracker = tracker(ref.toString()))`

This protocol looks at the deal and decides whether to be the Fixer or Floater role in agreeing a fixing.

It is kicked off as an activity on both participant nodes by the scheduler when its time for a fixing. If the Fixer role is chosen, then that will be initiated by the FixingSessionInitiation message sent from the other party and handled by the FixingSessionInitiationHandler.

TODO: Replace FixingSessionInitiation and FixingSessionInitiationHandler with generic session initiation logic once it exists.