public interface RpcServer
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
newInstance(String fullName,
String simpleName,
String firstLowCaseName,
Class<?> clazz) |
<T> void |
publishService(T service,
String serviceClass) |
<T> void |
publishService(T service,
String groupName,
String serviceClass) |
void |
shutdown() |
void |
start() |
void start()
<T> void publishService(T service,
String serviceClass)
throws RpcException
RpcException<T> void publishService(T service,
String groupName,
String serviceClass)
throws RpcException
RpcExceptionObject newInstance(String fullName, String simpleName, String firstLowCaseName, Class<?> clazz) throws Exception
fullName - 全类名simpleName - 忽略包类名firstLowCaseName - 首字母小写类名clazz - Class 类,可用于反射Exceptionvoid shutdown()
Copyright © 2025. All rights reserved.