resultsListener.submissionFailed(ex);
}
}
public void connect(RpcConnectionHandler<ServerConnection> handler, DrillbitEndpoint endpoint) throws RpcException, InterruptedException {
UserToBitHandshake hs = UserToBitHandshake.newBuilder().setRpcVersion(UserRpcConfig.RPC_VERSION).setSupportListening(true).build();
this.connectAsClient(handler, hs, endpoint.getAddress(), endpoint.getUserPort());
}