当前位置: 首页>>代码示例>>Java>>正文


Java ServerConnection类代码示例

本文整理汇总了Java中org.apache.drill.exec.rpc.BasicClientWithConnection.ServerConnection的典型用法代码示例。如果您正苦于以下问题:Java ServerConnection类的具体用法?Java ServerConnection怎么用?Java ServerConnection使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ServerConnection类属于org.apache.drill.exec.rpc.BasicClientWithConnection包,在下文中一共展示了ServerConnection类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: handle

import org.apache.drill.exec.rpc.BasicClientWithConnection.ServerConnection; //导入依赖的package包/类
@Override
protected Response handle(ServerConnection connection, int rpcType, ByteBuf pBody, ByteBuf dBody) throws RpcException {
  return handleReponse( (ConnectionThrottle) connection, rpcType, pBody, dBody);
}
 
开发者ID:skhalifa,项目名称:QDrill,代码行数:5,代码来源:BasicClientWithConnection.java

示例2: initRemoteConnection

import org.apache.drill.exec.rpc.BasicClientWithConnection.ServerConnection; //导入依赖的package包/类
@Override
public ServerConnection initRemoteConnection(SocketChannel channel) {
  super.initRemoteConnection(channel);
  return new ServerConnection(connectionName, channel, alloc);
}
 
开发者ID:skhalifa,项目名称:QDrill,代码行数:6,代码来源:BasicClientWithConnection.java

示例3: ServerConnection

import org.apache.drill.exec.rpc.BasicClientWithConnection.ServerConnection; //导入依赖的package包/类
public ServerConnection(String name, SocketChannel channel, BufferAllocator alloc) {
  super(channel, name);
  this.alloc = alloc;
}
 
开发者ID:skhalifa,项目名称:QDrill,代码行数:5,代码来源:BasicClientWithConnection.java

示例4: connectionSucceeded

import org.apache.drill.exec.rpc.BasicClientWithConnection.ServerConnection; //导入依赖的package包/类
@Override
public void connectionSucceeded(ServerConnection connection) {
  getInner().set(null);
}
 
开发者ID:skhalifa,项目名称:QDrill,代码行数:5,代码来源:DrillClient.java


注:本文中的org.apache.drill.exec.rpc.BasicClientWithConnection.ServerConnection类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。