feat: sharding executor exec locally

This commit is contained in:
garvey-wong
2022-05-03 15:01:46 +08:00
parent afa327419b
commit 46d1ebb9bf
5 changed files with 30 additions and 15 deletions

View File

@@ -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);
}

View File

@@ -1,6 +1,8 @@
package org.bdware.sdk.consistency.api.context;
public interface ISDKContext {
IMasterClientTCPAction getMasterClientTCPAction();
IMasterServerTCPAction getMasterServerTCPAction();
INetworkManager getNetworkManager();