mirror of
https://github.com/corda/corda.git
synced 2024-12-20 13:33:12 +00:00
Add a toString to FlowSessionImpl
This commit is contained in:
parent
f2dfeb2d9f
commit
d5088c600b
@ -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<*>
|
||||
|
||||
@ -39,5 +36,7 @@ class FlowSessionImpl(
|
||||
override fun send(payload: Any) {
|
||||
return stateMachine.send(counterparty, payload, sessionFlow)
|
||||
}
|
||||
|
||||
override fun toString() = "Flow session with $counterparty"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user