public class RpcServerBootstrap extends Object implements RemotingServer
| 构造器和说明 |
|---|
RpcServerBootstrap(NettyServerConfig nettyServerConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getListenPort()
Gets listen port.
|
protected void |
setChannelHandlers(io.netty.channel.ChannelHandler... handlers)
Sets channel handlers.
|
void |
setListenPort(int listenPort)
Sets listen port.
|
void |
shutdown()
Shutdown.
|
void |
start()
Start.
|
public RpcServerBootstrap(NettyServerConfig nettyServerConfig)
protected void setChannelHandlers(io.netty.channel.ChannelHandler... handlers)
handlers - the handlerspublic void setListenPort(int listenPort)
listenPort - the listen portpublic int getListenPort()
public void start()
RemotingServicestart 在接口中 RemotingServicepublic void shutdown()
RemotingServiceshutdown 在接口中 RemotingServiceCopyright © 2020 Seata. All rights reserved.