Merge remote-tracking branch 'remotes/origin/master' into mnesbit-cor-261-artemis-over-ssl

This commit is contained in:
Matthew Nesbit 2016-07-26 15:25:58 +01:00
commit 9a9df847af
2 changed files with 4 additions and 3 deletions

View File

@ -17,6 +17,7 @@
<value defaultName="wholeProject" />
</option>
<envs />
<fork_mode value="class" />
<patterns />
<method />
</configuration>

View File

@ -439,12 +439,12 @@ object TwoPartyDealProtocol {
*/
class FixingRoleDecider(val ref: StateRef,
val timeout: Duration,
override val progressTracker: ProgressTracker = tracker(ref.toString())) : ProtocolLogic<Unit>() {
override val progressTracker: ProgressTracker = tracker()) : ProtocolLogic<Unit>() {
companion object {
class LOADING(ref: String) : ProgressTracker.Step("Loading state $ref to decide fixing role")
class LOADING() : ProgressTracker.Step("Loading state to decide fixing role")
fun tracker(ref: String) = ProgressTracker(LOADING(ref))
fun tracker() = ProgressTracker(LOADING())
}
override val topic: String get() = FIX_INITIATE_TOPIC