Skip to content

Commit

Permalink
Add a toString to FlowSessionImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Hearn committed Oct 26, 2017
1 parent b2e8809 commit 1b4a5f3
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ import net.corda.core.identity.Party
import net.corda.core.internal.FlowStateMachine
import net.corda.core.utilities.UntrustworthyData

class FlowSessionImpl(
override val counterparty: Party
) : FlowSession() {

class FlowSessionImpl(override val counterparty: Party) : FlowSession() {
internal lateinit var stateMachine: FlowStateMachine<*>
internal lateinit var sessionFlow: FlowLogic<*>

Expand Down Expand Up @@ -57,5 +54,7 @@ class FlowSessionImpl(

@Suspendable
override fun send(payload: Any) = send(payload, maySkipCheckpoint = false)

override fun toString() = "Flow session with $counterparty"
}

0 comments on commit 1b4a5f3

Please sign in to comment.