com.r3corda.core.protocols / ProtocolLogic / subProtocol

subProtocol

fun <R> subProtocol(subLogic: ProtocolLogic<R>): R

Invokes the given subprotocol by simply passing through this ProtocolLogics reference to the ProtocolStateMachine and then calling the call method.