static <T extends Service> T |
Sncp.createLocalService(RedkaleClassLoader classLoader,
String name,
Class<T> serviceImplClass,
org.redkale.asm.AsmMethodBoost methodBoost,
ResourceFactory resourceFactory,
SncpRpcGroups sncpRpcGroups,
SncpClient client,
MessageAgent agent,
String remoteGroup,
AnyValue conf) |
创建本地模式Service实例
|
static <T extends Service> T |
Sncp.createRemoteService(ClassLoader classLoader,
String name,
Class<T> serviceTypeOrImplClass,
org.redkale.asm.AsmMethodBoost methodBoost,
ResourceFactory resourceFactory,
SncpRpcGroups sncpRpcGroups,
SncpClient client,
MessageAgent agent,
String remoteGroup,
AnyValue conf) |
static <T extends Service> T |
Sncp.createSimpleRemoteService(Class<T> serviceImplClass,
ResourceFactory resourceFactory,
SncpRpcGroups sncpRpcGroups,
SncpClient client,
String group) |
|
static <T extends Service> SncpRemoteInfo |
Sncp.createSncpRemoteInfo(String resourceName,
Class<T> resourceServiceType,
Class<T> serviceImplClass,
ProtobufConvert convert,
SncpRpcGroups sncpRpcGroups,
SncpClient sncpClient,
MessageAgent messageAgent,
String remoteGroup) |
|