public class RpcClientBootstrap extends Object implements RemotingClient
| 构造器和说明 |
|---|
RpcClientBootstrap(NettyClientConfig nettyClientConfig,
io.netty.util.concurrent.EventExecutorGroup eventExecutorGroup,
NettyPoolKey.TransactionRole transactionRole) |
| 限定符和类型 | 方法和说明 |
|---|---|
io.netty.channel.Channel |
getNewChannel(InetSocketAddress address)
Gets new channel.
|
protected void |
setChannelHandlers(io.netty.channel.ChannelHandler... handlers)
Sets channel handlers.
|
void |
shutdown()
Shutdown.
|
void |
start()
Start.
|
public RpcClientBootstrap(NettyClientConfig nettyClientConfig, io.netty.util.concurrent.EventExecutorGroup eventExecutorGroup, NettyPoolKey.TransactionRole transactionRole)
protected void setChannelHandlers(io.netty.channel.ChannelHandler... handlers)
handlers - the handlerspublic void start()
RemotingServicestart 在接口中 RemotingServicepublic void shutdown()
RemotingServiceshutdown 在接口中 RemotingServicepublic io.netty.channel.Channel getNewChannel(InetSocketAddress address)
address - the addressCopyright © 2020 Seata. All rights reserved.