| 程序包 | 说明 |
|---|---|
| com.baidu.brpc.server |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RpcServerOptions.copyFrom(RpcServerOptions options) |
void |
RpcServer.registerService(Object service,
Class targetClass,
NamingOptions namingOptions,
RpcServerOptions serverOptions)
register service which can be accessed by client
|
void |
RpcServer.registerService(Object service,
RpcServerOptions serverOptions) |
| 构造器和说明 |
|---|
RpcServer(int port,
RpcServerOptions options) |
RpcServer(int port,
RpcServerOptions options,
List<Interceptor> interceptors) |
RpcServer(String host,
int port,
RpcServerOptions options) |
RpcServer(String host,
int port,
RpcServerOptions options,
List<Interceptor> interceptors) |
RpcServerOptions(RpcServerOptions options) |
Copyright © 2019 Baidu, Inc.. All rights reserved.