Added required terminate and isWaitingForShutdown methods by CordaRPCOps.

This commit is contained in:
szymonsztuka 2018-09-20 20:19:35 +01:00
parent 8e9ce48404
commit af0c45b287

View File

@ -338,6 +338,14 @@ class CordaRpcWorkerOps(
shutdownNode.invoke()
}
override fun terminate(drainPendingFlows: Boolean) {
TODO("not implemented")
}
override fun isWaitingForShutdown(): Boolean {
TODO("not implemented")
}
private fun stateMachineInfoFromFlowLogic(flowLogic: FlowLogic<*>): StateMachineInfo {
return StateMachineInfo(flowLogic.runId, flowLogic.javaClass.name, flowLogic.stateMachine.context.toFlowInitiator(), flowLogic.track(), flowLogic.stateMachine.context)
}