com.r3corda.core.protocols / ProtocolStateMachine / receive

receive

abstract fun <T : Any> receive(otherParty: Party, receiveType: Class<T>, sessionProtocol: ProtocolLogic<*>): UntrustworthyData<T>