From bd6135b6ea392d2aea5a649dbae95fe321930e8e Mon Sep 17 00:00:00 2001 From: CaiHQ Date: Thu, 19 May 2022 11:06:06 +0800 Subject: [PATCH] rebase --- .../consistency/api/context/IMasterClientTCPAction.java | 8 ++++++++ .../bdware/sdk/consistency/api/context/ISDKContext.java | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 src/main/java/org/bdware/sdk/consistency/api/context/IMasterClientTCPAction.java diff --git a/src/main/java/org/bdware/sdk/consistency/api/context/IMasterClientTCPAction.java b/src/main/java/org/bdware/sdk/consistency/api/context/IMasterClientTCPAction.java new file mode 100644 index 0000000..dfb3733 --- /dev/null +++ b/src/main/java/org/bdware/sdk/consistency/api/context/IMasterClientTCPAction.java @@ -0,0 +1,8 @@ +package org.bdware.sdk.consistency.api.context; + +import com.google.gson.JsonObject; +import org.bdware.sc.conn.ResultCallback; + +public interface IMasterClientTCPAction { + void asyncExecuteContractLocally(JsonObject jo, ResultCallback rc); +} diff --git a/src/main/java/org/bdware/sdk/consistency/api/context/ISDKContext.java b/src/main/java/org/bdware/sdk/consistency/api/context/ISDKContext.java index 1b9008f..e49c310 100644 --- a/src/main/java/org/bdware/sdk/consistency/api/context/ISDKContext.java +++ b/src/main/java/org/bdware/sdk/consistency/api/context/ISDKContext.java @@ -1,6 +1,8 @@ package org.bdware.sdk.consistency.api.context; public interface ISDKContext { + IMasterClientTCPAction getMasterClientTCPAction(); + IMasterServerTCPAction getMasterServerTCPAction(); INetworkManager getNetworkManager();