mirror of
https://github.com/corda/corda.git
synced 2025-02-21 17:56:54 +00:00
Minor: add a TODO about a little rpc framework to StateMachineManager
This commit is contained in:
parent
9069a80bc3
commit
5eda0e066e
@ -15,9 +15,9 @@ import com.esotericsoftware.kryo.io.Input
|
|||||||
import com.google.common.base.Throwables
|
import com.google.common.base.Throwables
|
||||||
import com.google.common.util.concurrent.ListenableFuture
|
import com.google.common.util.concurrent.ListenableFuture
|
||||||
import com.google.common.util.concurrent.MoreExecutors
|
import com.google.common.util.concurrent.MoreExecutors
|
||||||
import core.node.services.ServiceHub
|
|
||||||
import core.crypto.SecureHash
|
import core.crypto.SecureHash
|
||||||
import core.crypto.sha256
|
import core.crypto.sha256
|
||||||
|
import core.node.services.ServiceHub
|
||||||
import core.protocols.ProtocolLogic
|
import core.protocols.ProtocolLogic
|
||||||
import core.protocols.ProtocolStateMachine
|
import core.protocols.ProtocolStateMachine
|
||||||
import core.serialization.THREAD_LOCAL_KRYO
|
import core.serialization.THREAD_LOCAL_KRYO
|
||||||
@ -54,6 +54,7 @@ import javax.annotation.concurrent.ThreadSafe
|
|||||||
* TODO: Ability to control checkpointing explicitly, for cases where you know replaying a message can't hurt
|
* TODO: Ability to control checkpointing explicitly, for cases where you know replaying a message can't hurt
|
||||||
* TODO: Make Kryo (de)serialize markers for heavy objects that are currently in the service hub. This avoids mistakes
|
* TODO: Make Kryo (de)serialize markers for heavy objects that are currently in the service hub. This avoids mistakes
|
||||||
* where services are temporarily put on the stack.
|
* where services are temporarily put on the stack.
|
||||||
|
* TODO: Implement stub/skel classes that provide a basic RPC framework on top of this.
|
||||||
*/
|
*/
|
||||||
@ThreadSafe
|
@ThreadSafe
|
||||||
class StateMachineManager(val serviceHub: ServiceHub, val runInThread: Executor) {
|
class StateMachineManager(val serviceHub: ServiceHub, val runInThread: Executor) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user