AsyncRpcClient.java 文件源码

java
阅读 42 收藏 0 点赞 0 评论 0

项目:ditb 作者:
/**
 * Creates a "channel" that can be used by a protobuf service.  Useful setting up
 * protobuf stubs.
 *
 * @param sn server name describing location of server
 * @param user which is to use the connection
 * @param rpcTimeout default rpc operation timeout
 *
 * @return A rpc channel that goes via this rpc client instance.
 */
public RpcChannel createRpcChannel(final ServerName sn, final User user, int rpcTimeout) {
  return new RpcChannelImplementation(this, sn, user, rpcTimeout);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号